diff options
author | Eric Anholt <[email protected]> | 2010-12-07 17:07:05 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-12-07 17:46:47 -0800 |
commit | b2167a6c013c057e731b96486e3363c1d1171d60 (patch) | |
tree | 28525e0da355a084fc1a4503e3834d9f6a6c8886 /src/mesa/drivers | |
parent | b0fc5103cbc9116806a9888f747baed4b8166246 (diff) |
i965: Fix flipped value of the not-embedded-in-if on gen6.
Fixes:
glean/glsl1-! (not) operator (1, fail)
glean/glsl1-! (not) operator (1, pass)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 8840b6d6f73..6bb195b4877 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1625,7 +1625,7 @@ fs_visitor::emit_if_gen6(ir_if *ir) switch (expr->operation) { case ir_unop_logic_not: - inst = emit(fs_inst(BRW_OPCODE_IF, temp, op[0], fs_reg(1))); + inst = emit(fs_inst(BRW_OPCODE_IF, temp, op[0], fs_reg(0))); inst->conditional_mod = BRW_CONDITIONAL_Z; return; |