• Andres Gomez's avatar
    arb_separate_shader_objects: add location overlapping tests · 461e76e8
    Andres Gomez authored
    New tests for location overlap with scalars, doubles and for
    duplicated inputs which match the same output variable in the previous
    stage.
    
    From the ARB_separate_shader_objects spec v.25:
    
      "   * An output variable is considered to match an input variable in
            the subequent shader if:
    
            * the two variables match in name, type, and qualification; or
    
            * the two variables are declared with the same location layout
              qualifier and match in type and qualification."
    
    ...
    
      " A program will fail to link if any two non-vertex shader input
        variables are assigned to the same location."
    
    Cc: Timothy Arceri <tarceri@itsqueeze.com>
    Cc: Iago Toral Quiroga <itoral@igalia.com>
    Cc: Ilia Mirkin <imirkin@alum.mit.edu>
    Signed-off-by: Andres Gomez's avatarAndres Gomez <agomez@igalia.com>
    Reviewed-by: Timothy Arceri's avatarTimothy Arceri <tarceri@itsqueeze.com>
    461e76e8
Name
Last commit
Last update
ci/appveyor Loading commit data...
cmake Loading commit data...
completions/bash Loading commit data...
docker Loading commit data...
docs Loading commit data...
examples/glsl_parser_test Loading commit data...
framework Loading commit data...
generated_tests Loading commit data...
licences Loading commit data...
registry Loading commit data...
self-tests Loading commit data...
src Loading commit data...
templates Loading commit data...
tests Loading commit data...
unittests Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
TODO Loading commit data...
appveyor.yml Loading commit data...
piglit Loading commit data...
piglit-print-commands.py Loading commit data...
piglit-resume.py Loading commit data...
piglit-run.py Loading commit data...
piglit-summary-html.py Loading commit data...
piglit-summary.py Loading commit data...
piglit.conf.example Loading commit data...
tox.ini Loading commit data...