# GL\_EXT\_frag\_depth support with PowerVR 544MP3?

**URL:** <https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799>\
**Category:** PowerVR Insider\
**Created:** [May 29, 2013, 8:20am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799 "2013-05-29T08:20:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonicadvance1](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/sonicadvance1/32/191_2.png) [@sonicadvance1](https://forums.imgtec.com/u/sonicadvance1)\
**Post date:** [May 29, 2013, 8:20am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/1 "2013-05-29T08:20:51Z")

</div>

Can you work with Samsung to bring the GL\_EXT\_frag\_depth OpenGL extension to the Galaxy S4? This is the only limitation for bringing my application to the Galaxy S4 Exynos 5410 model compared to the OpenGL ES 3 capable Adreno 320 model.

---

<div class="post-metadata">

**Author:** ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)\
**Post date:** [May 29, 2013, 9:04am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/2 "2013-05-29T09:04:11Z")

</div>

Hi,  
  
  
  
Our hardware is capable of supporting this feature, but the extension is not implemented in our reference driver at this time.  
  
  
  
Do you need this extension for spherical billboard rendering, or something similar?  
  
  
  
Thanks,  
  
Joe

---

<div class="post-metadata">

**Author:** ![sonicadvance1](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/sonicadvance1/32/191_2.png) [@sonicadvance1](https://forums.imgtec.com/u/sonicadvance1)\
**Post date:** [May 29, 2013, 9:26am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/3 "2013-05-29T09:26:34Z")

</div>

I’ve been working on porting a Gamecube/Wii emulator to portable devices and the fragment depth is required for emulation of the device’s z-textures and also the correct emulation of pixel depth.

---

<div class="post-metadata">

**Author:** ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)\
**Post date:** [May 29, 2013, 9:34am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/4 "2013-05-29T09:34:30Z")

</div>

How are you creating Z-textures? Do you need the EXT\_frag\_depth extension for this?  
  
  
  
What sort of depth correction are you doing with the EXT\_frag\_depth extension?  
  
Depending on the correction you’re implementing, it may be possible to modify the way in which depth tests are performed instead of relying on the extension.  
  
  
  
Thanks,  
  
Joe

---

<div class="post-metadata">

**Author:** ![sonicadvance1](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/sonicadvance1/32/191_2.png) [@sonicadvance1](https://forums.imgtec.com/u/sonicadvance1)\
**Post date:** [May 29, 2013, 9:50am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/5 "2013-05-29T09:50:19Z")

</div>

Without delving in to the heart of our massively convoluted fragment shaders, it’s hard to explain exactly why it is necessary, but we use textures provided by the emulated console to determine the depth at that stage of the video emulation.  
  
It’s a hard requirement that can’t be removed sadly.

---

<div class="post-metadata">

**Author:** ![sonicadvance1](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/sonicadvance1/32/191_2.png) [@sonicadvance1](https://forums.imgtec.com/u/sonicadvance1)\
**Post date:** [May 29, 2013, 10:22am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/6 "2013-05-29T10:22:23Z")

</div>

It /is/ a bit disappointing that I have to tell people to buy the GS4 to use my application, then further specify the model as well. It would be extremely nice if I could just say, GS4, or any PVR54x device.

---

<div class="post-metadata">

**Author:** ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)\
**Post date:** [May 29, 2013, 11:39am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/7 "2013-05-29T11:39:42Z")

</div>

Unfortunately, even if we were to implement the GL\_EXT\_frag\_depth extension in our reference driver we have no control over the release schedule of graphics drivers on our customer’s platforms. You should contact Samsung to see if they will consider adding this feature.  
  
  
  
Thanks,  
  
Joe

---

<div class="post-metadata">

**Author:** ![sonicadvance1](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/sonicadvance1/32/191_2.png) [@sonicadvance1](https://forums.imgtec.com/u/sonicadvance1)\
**Post date:** [May 29, 2013, 11:50am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/8 "2013-05-29T11:50:07Z")

</div>

Wouldn’t other companies have a higher chance of implementing it if it is implemented in your reference driver? I don’t mind too much if it were the GS4 or any of the many other PVR5 phones available to the market.

---

<div class="post-metadata">

**Author:** ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)\
**Post date:** [May 29, 2013, 11:55am UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/9 "2013-05-29T11:55:15Z")

</div>

Yes. However, I can’t publicly comment on our reference driver roadmap.  
  
  
  
Thanks,  
  
Joe

---

<div class="post-metadata">

**Author:** ![sonicadvance1](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/sonicadvance1/32/191_2.png) [@sonicadvance1](https://forums.imgtec.com/u/sonicadvance1)\
**Post date:** [May 29, 2013, 12:41pm UTC](https://forums.imgtec.com/t/gl-ext-frag-depth-support-with-powervr-544mp3/1799/10 "2013-05-29T12:41:37Z")

</div>

Alright, I’ll just wait for PowerVR6
