summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/not.ir
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-10-06 11:28:42 -0700
committerPaul Berry <[email protected]>2011-10-31 11:24:03 -0700
commitb726639e1be0614fb6bbb75a6f07c63eacc6d787 (patch)
treeb2f781d0f0c31433ca86e93bb2b4dc0ea64830f2 /src/glsl/builtins/ir/not.ir
parentd09b1109d4ea42c54ec40aa7dad0591aa3622436 (diff)
glsl: Fix copy-paste error in constant_expression_value(ir_binop_nequal)
The implementation of ir_binop_nequal in constant_expression_value() appears to have been copy-and-pasted from the implementation of ir_binop_equal, but with all instances of '==' changed to '!='. This is correct except for one minor flaw: one of those '==' operators was in an assertion checking that the types of the two arguments were equal. That one needs to stay an '=='. Fixes piglit tests {fs,vs}-inline-notequal.
Diffstat (limited to 'src/glsl/builtins/ir/not.ir')
0 files changed, 0 insertions, 0 deletions