GL_EXT_conservative_depth#

Valid APIs#

OpenGL ES 3.0+

Description#

This extension allows developers to pass information about fragment shader depth modifications to the GL implementation so that early depth testing can still be performed safely.

Example#

//depth will only be increased, so if depth test is GL_LESS early depth testing can still be performed
  layout (depth_greater) out float gl_FragDepth;