From: Brian Paul Date: Fri, 12 Jul 2013 15:59:38 +0000 (-0600) Subject: nv30: fix KILL_IF breakage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf86e0e050279394c80062e2d910c8619c1d1fe1;p=mesa.git nv30: fix KILL_IF breakage Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66858 --- 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);