summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/.gitignore
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-10-02 12:39:29 -0700
committerIan Romanick <[email protected]>2014-05-02 07:19:40 -0700
commit7ff937e5793dc8709c916e043b41142033c8e69e (patch)
treed5eb892659bf47bf335554d8f4fe2ad24b741ddd /src/glsl/tests/.gitignore
parentd030a3404ca0fedf365cb0fd41eaad7abc8ff132 (diff)
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/tests/.gitignore')
0 files changed, 0 insertions, 0 deletions