• Andres Gomez's avatar
    arb_enhanced_layouts: add aliasing tests with mixed type widths · 140cb0ee
    Andres Gomez authored
    Added tests which check component aliasing between types that have
    different bit widths.
    
    From Section 4.4.1 (Input Layout Qualifiers) of the GLSL 4.60 spec:
    
        "Further, when location aliasing, the aliases sharing the location
         must have the same underlying numerical type and bit
         width (floating-point or integer, 32-bit versus 64-bit, etc.)
         and the same auxiliary storage and interpolation
         qualification. The one exception where component aliasing is
         permitted is for two input variables (not block members) to a
         vertex shader, which are allowed to have component aliasing. This
         vertex-variable component aliasing is intended only to support
         vertex shaders where each execution path accesses at most one
         input per each aliased component. Implementations are permitted,
         but not required, to generate link-time errors if they detect
         that every path through the vertex shader executable accesses
         multiple inputs aliased to any single component."
    
    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: Juan Suárez Romero's avatarJuan A. Suarez <jasuarez@igalia.com>
    140cb0ee
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...