summaryrefslogtreecommitdiffstats
path: root/src/glsl/s_expression.cpp
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-01-16 22:38:45 -0800
committerChad Versace <[email protected]>2011-01-17 09:41:25 -0800
commit889e1a5b6c6602198d649ea5881e0010dec575e9 (patch)
treed16e3b686f2d589ff82990603eaa1451d7ea505b /src/glsl/s_expression.cpp
parent33279cd2d33a3f3804e4584f9134f4cc67567a54 (diff)
glsl: Add semantic checks for precision qualifiers
* Check that precision qualifiers only appear in language versions 1.00, 1.30, and later. * Check that precision qualifiers do not apply to bools and structs. Fixes the following Piglit tests: * spec/glsl-1.30/precision-qualifiers/precision-bool-01.frag * spec/glsl-1.30/precision-qualifiers/precision-struct-01.frag * spec/glsl-1.30/precision-qualifiers/precision-struct-02.frag
Diffstat (limited to 'src/glsl/s_expression.cpp')
0 files changed, 0 insertions, 0 deletions