From bf86e0e050279394c80062e2d910c8619c1d1fe1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Jul 2013 09:59:38 -0600 Subject: [PATCH] nv30: fix KILL_IF breakage Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66858 --- src/gallium/drivers/nv30/nvfx_fragprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2