path: root/src/mesa
diff options
authorKenneth Graunke <>2013-07-29 10:40:51 -0700
committerKenneth Graunke <>2013-07-29 10:51:25 -0700
commit6aba035f6b0dee0e0b78b2110fa75463c7888c3a (patch)
tree9a7caf140e6408c0109278ab4fdaf0d496117950 /src/mesa
parent0ed02d435eb238e7d0821ef0087ef986738f4eab (diff)
glsl: Remove shader stage checking for extension handling.
Certain extensions only add functionality to particular shader stages. (For example, ARB_draw_instanced only adds variables to the vertex shader stage.) Previously, we only allowed such extensions to be enabled in the shader stages where they're useful. However, I've never found any text which mandates that behavior; in my opinion, you should be able to turn on extensions in any shader stage, even if they have no effect. Fixes Piglit tests glslparsertest/glsl2/draw_buffers-05.vert and ARB_draw_instanced/preprocessor/feature-macro-enabled.frag. Bugzilla: Signed-off-by: Kenneth Graunke <>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions