On Thu, Jun 4, 2015 at 10:01 PM, Kenneth Graunke wrote:
> In the ARB_fragment_program specification, the result.depth output
> variable is treated as a vec4, where the fragment depth is stored in the
> .z component, and the other three components are undefined.
>
> This is different than GLSL, whi
In the ARB_fragment_program specification, the result.depth output
variable is treated as a vec4, where the fragment depth is stored in the
.z component, and the other three components are undefined.
This is different than GLSL, which uses a scalar value (gl_FragDepth).
To make this consistent fo