This is with a Samsung Galaxy Nexus I9250
We have a situation where we’d like to use discard + a texture to mask out stencil areas that we cannot do easily with geo. Unfortunately on the SGX540 this seems to mean that when we disable colour writes during the stencil pass, the call gets ignored and the shader output is written to the colour buffer. Is this a hardware level thing to do with discard? Or is there some unknown state/driver issue in GLES 2.0 and perhaps the Galaxy Nexus? SGX535 and SGX543 deal with this fine (on iphone).
Below is command buffer data for one of the stencil writes:
Do you have a small test app that displays this behaviour? Or possibly a PVRTrace capture? Otherwise I’ll try to port your command buffer code into a small test App myself, but if you happen to have one already that would obviously speed things up
I’ll see if I can get you a test app, but probably won’t be able to do it until early next week. Or I can send you the complete PVRTrace if you want - it is about 10mb I think because I captured across multiple pages.
It looks like I can export one frame out of my mega capture, so I’ll do that and then I can send that
Is there an ftp/email/upload place for files?