diff options
author | Chad Versace <[email protected]> | 2011-01-16 22:38:45 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-01-17 09:41:25 -0800 |
commit | 889e1a5b6c6602198d649ea5881e0010dec575e9 (patch) | |
tree | d16e3b686f2d589ff82990603eaa1451d7ea505b /src/glsl/opt_noop_swizzle.cpp | |
parent | 33279cd2d33a3f3804e4584f9134f4cc67567a54 (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/opt_noop_swizzle.cpp')
0 files changed, 0 insertions, 0 deletions