summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-21 20:14:35 +0200
committerLuca Barbieri <[email protected]>2010-08-21 20:42:15 +0200
commit5eddf95be992d1d6cafe567068ca4c12b0ee2b4a (patch)
treec234a140885034af7f96a6b7ec05c7cf85168073 /src
parent8983621c6b39d74e0f30fa97fb8b4b362eddc87c (diff)
nvfx: tweak CMP in fp
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_fragprog.c b/src/gallium/drivers/nvfx/nvfx_fragprog.c
index f9b3e075a00..dc681f4d4d2 100644
--- a/src/gallium/drivers/nvfx/nvfx_fragprog.c
+++ b/src/gallium/drivers/nvfx/nvfx_fragprog.c
@@ -536,7 +536,7 @@ nvfx_fragprog_parse_instruction(struct nvfx_context* nvfx, struct nvfx_fpc *fpc,
nvfx_fp_emit(fpc, arith(sat, ADD, dst, mask, src[0], src[1], none));
break;
case TGSI_OPCODE_CMP:
- insn = arith(0, MOV, none.reg, 0xf, src[0], none, none);
+ insn = arith(0, MOV, none.reg, mask, src[0], none, none);
insn.cc_update = 1;
nvfx_fp_emit(fpc, insn);