mesa/src
Ian Romanick 7ff937e579 linker: Modify cross_validate_outputs_to_inputs to match using explicit locations
This will be used for GL_ARB_separate_shader_objects.  That extension
not only allows separable shaders to rendezvous by location, but it also
allows traditionally linked shaders to rendezvous by location.  The spec
says:

    36. How does the behavior of input/output interface matching differ
        between separable programs and non-separable programs?

        RESOLVED: The rules for matching individual variables or block
        members between stages are identical for separable and
        non-separable programs, with one exception -- matching variables
        of different type with the same location, as discussed in issue
        34, applies only to separable programs.

        However, the ability to enforce matching requirements differs
        between program types.  In non-separable programs, both sides of
        an interface are contained in the same linked program.  In this
        case, if the linker detects a mismatch, it will generate a link
        error.

v2: Make sure consumer_inputs_with_locations is initialized when
consumer is NULL.  Noticed by Chia-I.

v3: Rebase on removal of ir_variable::user_location.

v4: Replace a (stale) FINISHME with some good explanation comments from
Eric.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2014-05-02 07:19:40 -07:00
..
egl egl_dri: rework dri extension handling 2014-04-28 19:13:38 +01:00
gallium clover: Add a stub implementation of clCreateImage() v3 2014-05-02 06:48:17 -07:00
gbm gbm: cleanup __DRI*extension handling 2014-04-28 19:13:38 +01:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl linker: Modify cross_validate_outputs_to_inputs to match using explicit locations 2014-05-02 07:19:40 -07:00
glx glx/drisw: fix memory leak when destroying screen. 2014-05-01 16:13:38 +02:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader loader: don't limit the non-udev path to only android 2014-04-05 12:17:28 +01:00
mapi glapi: Add infrastructure for ARB_multi_bind 2014-05-02 02:53:25 +02:00
mesa meta: Fix saving the program pipeline state 2014-05-02 07:17:34 -07:00
Makefile.am src/build: Add getopt to distribution. 2014-04-07 09:41:02 -07:00
SConscript loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00