mesa/src
Paul Berry 98af042079 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 <ian.d.romanick@intel.com>

NOTE: This is a candidate for the 7.10 and 7.11 branches.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38624
(cherry picked from commit b078aad8ab)
2011-07-07 14:23:08 -07:00
..
driclient
egl egl: add copyright notices 2011-07-02 18:25:28 +09:00
gallium r600g: fix buffer overflow check in r600_query_begin 2011-07-05 16:16:54 -04:00
gbm targets/gbm: build pipe drivers 2011-06-24 16:43:03 +09:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: permit explicit locations on fragment shader outputs, not inputs 2011-07-07 14:23:08 -07:00
glu sgi: Fix MSVC build. 2011-04-27 19:06:07 +01:00
glut scons: Revamp how to specify targets to build. 2010-11-01 13:30:22 +00:00
glw glw: Mark all extern symbols GLAPI to regain default visibility (#31294) 2011-06-20 12:31:01 -07:00
glx glx: Fix compile. 2011-06-20 17:19:00 -07:00
mapi glapi: Update specs to correctly list FramebufferTextureLayerARB as an alias of FramebufferTextureLayerEXT 2011-06-20 16:54:58 -07:00
mesa ir_to_mesa: Allocate temporary instructions on the visitor's ralloc context 2011-07-06 17:05:50 -07:00
Makefile
SConscript scons: Build glu. 2011-04-23 13:16:03 +01:00