[Mesa-dev] [Bug 66858] Missing definition for NVFX_FP_OP_OPCODE_KILL_IF
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 12 08:16:34 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=66858
--- Comment #1 from Brian Paul <brianp at vmware.com> ---
That's my fault. But I believe this is the correct fix (undo the change to
that line):
--- 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);
Can you test that?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130712/f038fe48/attachment.html>
More information about the mesa-dev
mailing list