diff options
author | Paul Berry <[email protected]> | 2011-10-31 18:22:48 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-11-02 09:28:54 -0700 |
commit | 9abda92b270596fd3a5e2e8b74e3fc3255da70ce (patch) | |
tree | 6860a505226509221acd9fe6316486de2ae8f134 /src/mesa/main/varray.c | |
parent | a0d8e5d12a059fcb5e606c262d30e41ad6248282 (diff) |
glsl: Fix type mismatch when incrementing or decrementing uint.
When converting an expression like "++x" to GLSL IR we were failing to
account for the possibility that x might be an unsigned integral type.
As a result the user would receive a bogus error message "Could not
implicitly convert operands to arithmetic operator".
Fixes piglit tests {vs,fs}-{increment,decrement}-uint.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
0 files changed, 0 insertions, 0 deletions