Jonathan marek <jonat...@marek.ca> writes: > Hi, > > I didn't verify it, but both r600 and a3xx disable earlyZ when alpha > test is enabled, so this is almost certainly right. > > We don't need to worry about the shader writing Z, it is not part of > OpenGL ES 2.0 and not implemented by the driver (although the hardware > should allow it). > > Why should we need to check if the shader does discards?
On a lot of hardware, early Z also does the depth write at that time. I see a3xx disables EZ when discards are present. (There is a piglit test for this)
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev