summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_dead_functions.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-06-14 22:21:41 -0700
committerKenneth Graunke <[email protected]>2011-06-29 16:07:13 -0700
commit8eb975394478a5c1ebd2bd8a12b5eb61cef808a7 (patch)
tree06db74c2ce9b9356e00f276a64a39831d48ba8e1 /src/glsl/opt_dead_functions.cpp
parent60eb63a855cb89962f2d5bb91e238ff2d1ab8702 (diff)
glsl: Distinguish "type mismatch" error messages for modulus operator.
Previously, it would simply say "type error" in three different cases: - The LHS is not an integer - The RHS is not an integer - The LHS and RHS have different base types (int vs. uint) Now the error messages state the specific problem. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/opt_dead_functions.cpp')
0 files changed, 0 insertions, 0 deletions