[Mesa-dev] [PATCH] glsl: permit explicit locations on fragment shader outputs, not inputs

Kenneth Graunke kenneth at whitecape.org
Tue Jun 28 13:40:05 PDT 2011


On 06/28/2011 10:50 AM, Paul Berry wrote:
>  From the OpenGL docs for GL_ARB_explicit_attrib_location:
>
>      This extension provides a method to pre-assign attribute locations to
>      named vertex shader inputs and color numbers to named fragment shader
>      outputs.
>
> This was accidentally implemented for fragment shader inputs.  This
> patch fixes it to apply to fragment shader outputs.

Looks like cut and paste fail.  Good catch.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list