# Does PowerVR support GL\_ARB\_gl\_spirv?

**URL:** https://forums.imgtec.com/t/does-powervr-support-gl-arb-gl-spirv/3332
**Category:** Uncategorized
**Created:** [January 13, 2021, 10:34am UTC](https://forums.imgtec.com/t/does-powervr-support-gl-arb-gl-spirv/3332 "2021-01-13T10:34:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![desperado](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@desperado](https://forums.imgtec.com/u/desperado)
#### Post date: [January 13, 2021, 10:34am UTC](https://forums.imgtec.com/t/does-powervr-support-gl-arb-gl-spirv/3332/1 "2021-01-13T10:34:08Z")

</div>

Or does it plan to in the foreseeable future? I want to port an OpenGL app to Vulkan and it might make things easier if I can port it to spirv first.

---

<div class="post-metadata">

### Author: ![AlejandroC](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@AlejandroC](https://forums.imgtec.com/u/AlejandroC)
#### Post date: [January 13, 2021, 1:15pm UTC](https://forums.imgtec.com/t/does-powervr-support-gl-arb-gl-spirv/3332/2 "2021-01-13T13:15:25Z")

</div>

Hi desperado,

Thanks for your message, we’re reviewing your question and we’ll come back to you with the answer shortly.

Best regards,  
Alejandro

---

<div class="post-metadata">

### Author: ![LawrenceGreen](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/lawrencegreen/32/378_2.png) [@LawrenceGreen](https://forums.imgtec.com/u/LawrenceGreen)
#### Post date: [January 18, 2021, 3:05pm UTC](https://forums.imgtec.com/t/does-powervr-support-gl-arb-gl-spirv/3332/3 "2021-01-18T15:05:09Z")

</div>

Hi Desperado,

I’ve checked the latest version of the driver and there is no support for the GL\_ARB\_gl\_spirv extension. This is because in the [specification](https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gl_spirv.txt) for the extension it states that it is only written for OpenGL desktop and not OpenGL ES. It’s important to note the difference between OpenGL and OpenGL ES, PowerVR devices are aimed at OpenGL ES and not OpenGL. I also double checked with the driver team, and there is no plan to implement this

However I’d like to point out that porting your shaders to Vulkan should still be fairly easy. Instead of forcing OpenGL ES to read SPIRV shaders, you can translate your GLSL shaders to SPIRV for use in the Vulkan version. In fact the entirety of the SDK writes it’s Vulkan shaders in GLSL.

Using the tool called “glslangValidator” supplied by the Khronos Vulkan SDK a GLSL shader can be translated to SPIRV with the command

```auto
glslangValidator -V Shader.glsl -S #SHADERSTAGE 

```

Where #SHADERSTAGE is the pipeline stage your shader is supposed to be executed for ie:

- vert
- frag
- comp
- tesc
- tese
- geom

I hope this helps, let us know if you need more assistance.  
All the best,  
Lawrence

---

<div class="post-metadata">

### Author: ![andreyogld3d](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/andreyogld3d/32/255_2.png) [@andreyogld3d](https://forums.imgtec.com/u/andreyogld3d)
#### Post date: [January 20, 2021, 12:36pm UTC](https://forums.imgtec.com/t/does-powervr-support-gl-arb-gl-spirv/3332/4 "2021-01-20T12:36:20Z")

</div>

Hi @desperado  
I think nobody want to support GL\_ARB\_gl\_spirv for OpenGL ES, also [here is currently no plan for a new core version of OpenGL ES](https://www.khronos.org/assets/uploads/developers/library/2017-siggraph/06_3D-BOF-SIGGRAPH_Aug17.pdf). Use Vulkan with spir-v shaders.  
In addition you can use HLSL for Vulkan!
