diff options
author | Paul Berry <[email protected]> | 2011-06-28 09:42:24 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-06-28 13:49:11 -0700 |
commit | b078aad8ab22d840456688480a8c27d4664297ce (patch) | |
tree | cc684a4e3d6886e3e50b03cca71098e9c906d1a4 /src/glsl/glsl_parser_extras.h | |
parent | fe36bc0c41ee7fd3aa7b364a8301d50613644f71 (diff) |
glsl: permit explicit locations on fragment shader outputs, not inputs
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.
Fixes piglit tests
spec/ARB_explicit_attrib_location/1.{10,20}/compiler/layout-{01,03,06,07,08,09,10}.frag
Reviewed-by: Ian Romanick <[email protected]>
NOTE: This is a candidate for the 7.10 and 7.11 branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38624
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
0 files changed, 0 insertions, 0 deletions