summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-07-12 09:59:38 -0600
committerBrian Paul <[email protected]>2013-07-12 10:00:18 -0600
commitbf86e0e050279394c80062e2d910c8619c1d1fe1 (patch)
treee0e5a62aded053e641a60cf307688727866e54d4 /src
parent00cd455bd50c6b16b2f72a6d2726de3d3818c7f5 (diff)
nv30: fix KILL_IF breakage
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66858
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nv30/nvfx_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nvfx_fragprog.c b/src/gallium/drivers/nv30/nvfx_fragprog.c
index f574ec4d1b8..1231862b7aa 100644
--- a/src/gallium/drivers/nv30/nvfx_fragprog.c
+++ b/src/gallium/drivers/nv30/nvfx_fragprog.c
@@ -197,7 +197,7 @@ nvfx_fp_emit(struct nvfx_fpc *fpc, struct nvfx_insn insn)
hw = &fp->insn[fpc->inst_offset];
memset(hw, 0, sizeof(uint32_t) * 4);
- if (insn.op == NVFX_FP_OP_OPCODE_KILL_IF)
+ if (insn.op == NVFX_FP_OP_OPCODE_KIL)
fp->fp_control |= NV30_3D_FP_CONTROL_USES_KIL;
hw[0] |= (insn.op << NVFX_FP_OP_OPCODE_SHIFT);
hw[0] |= (insn.mask << NVFX_FP_OP_OUTMASK_SHIFT);