summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_enums.h
diff options
context:
space:
mode:
authorAndres Gomez <[email protected]>2018-12-20 03:09:57 +0200
committerAndres Gomez <[email protected]>2019-03-19 17:23:27 +0200
commita96093136bddfe17661f1de54228fe4b5618ba8a (patch)
treed4ae7d489546531c7037ec7ea0410803480547eb /src/compiler/shader_enums.h
parentcbfe31ccbe3eafcb5aeb74457e3b67641fd54ae1 (diff)
glsl: correctly validate component layout qualifier for dvec{3,4}
From page 62 (page 68 of the PDF) of the GLSL 4.50 v.7 spec: " A dvec3 or dvec4 can only be declared without specifying a component." Therefore, using the "component" qualifier with a dvec3 or dvec4 should result in a compiling error. v2: enhance the error message (Timothy). Fixes: 94438578d21 ("glsl: validate and store component layout qualifier in GLSL IR") Cc: Timothy Arceri <[email protected]> Cc: Kenneth Graunke <[email protected]> Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.h')
0 files changed, 0 insertions, 0 deletions