aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ast.h
diff options
context:
space:
mode:
authorAndres Gomez <[email protected]>2016-11-11 21:03:24 +0200
committerAndres Gomez <[email protected]>2016-11-25 13:18:30 +0200
commitae1ce8ecd3cfd243d6fdc558c0d0f04d073c2290 (patch)
tree804392879e08e344b37dda489f777475c9799a53 /src/compiler/glsl/ast.h
parenta5d6ae2f51718b877a15a3a687586dce97b3b1ba (diff)
glsl: assert on incoherent point mode layout-id-qualifier validation
The point mode value in an ast_type_qualifier can only be true if the flag is already set since this layout-id-qualifier can only be or not be present in a shader. Hence, it is useless to check for its value if the flag is already set. Just replaced with an assert. V2: assert instead of checking for coherence and raising a compilation error. Suggested by Timothy. Reviewed-by: Timothy Arceri <[email protected]> Signed-off-by: Andres Gomez <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast.h')
0 files changed, 0 insertions, 0 deletions