PDA

View Full Version : where is the occlusion_query extension?



cass
09-04-2009, 02:38 PM
Does anybody out there know whether the powerVR SGX family can support
occlusion queries? I am really surprised this feature didn't make it into the
2.x spec.

Thanks -
Cass

yhata
01-29-2010, 10:49 AM
It looks like OC and queries will need to be vendor extensions.

jpilon
01-29-2010, 04:03 PM
I think occlusion in GLES2 can be done with shaders.

yhata
01-29-2010, 07:41 PM
Could of course be done in shaders - won't using shaders be horribly inefficient if the hardware doesn’t support OQ?

jpilon
01-30-2010, 08:27 AM
I think most SGX cores support queries in hardware, but it might depend on which SGX core, perhaps even on revision of that core. So you might want to post this question on the imagination forums with which platform your working on.

I don't think an extension is necessary, because GLSL already allows for OC behavior, it's up to vendors whether they want to support this in hardware or software.

But I'm no expert on this topic, so others might others could correct me if I'm wrong.