diff options
author | Kenneth Graunke <[email protected]> | 2012-05-08 12:04:45 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-05-08 12:28:44 -0700 |
commit | f72e9b2041e294c8ac2258ff3f2b923c39cbef83 (patch) | |
tree | 2449054f36b35a67c12ee58ded6b2fc9656db554 /src/glsl/ast_function.cpp | |
parent | c55ebc3e3e556a5bf5cd78cee2807f4cbb6f626a (diff) |
glsl: Fix broken constant expression handling for <, <=, >, and >=.
We were looping over all the vector components, but only dealing with
the first one. This was masked by the fact that constant expression
handling on built-ins went through custom code for the lessThan()
/function/ rather than the ir_binop_less expression operator.
NOTE: This is a candidate for all release branches.
Reviewed-by: Ian Romanick <[email protected]>
Signed-off-by: Olivier Galibert <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ast_function.cpp')
0 files changed, 0 insertions, 0 deletions