glsl: Implement the GL_ARB_conservative_depth extension.
It's the same as GL_AMD_conservative_depth. The specs have slight differences in wording, but don't differ in content or behavior. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
+1
-1
@@ -395,7 +395,7 @@ cross_validate_globals(struct gl_shader_program *prog,
|
||||
|
||||
/* Validate layout qualifiers for gl_FragDepth.
|
||||
*
|
||||
* From the AMD_conservative_depth spec:
|
||||
* From the AMD/ARB_conservative_depth specs:
|
||||
* "If gl_FragDepth is redeclared in any fragment shader in
|
||||
* a program, it must be redeclared in all fragment shaders in that
|
||||
* program that have static assignments to gl_FragDepth. All
|
||||
|
||||
Reference in New Issue
Block a user