summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-07-01 17:12:29 +0000
committerKeith Whitwell <[email protected]>2005-07-01 17:12:29 +0000
commit219f3c4489168efbb9ad008575d86023cf0463ef (patch)
tree1a1511ee520c3e6226da815052ec9bac511fd128
parent06abb854f03b247a449d5b6de37a08b80d79f422 (diff)
Set fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs.
-rw-r--r--src/mesa/shader/arbprogparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index b9bd1b0cee2..e33b79ee4c6 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -3115,6 +3115,7 @@ parse_fp_instruction (GLcontext * ctx, GLubyte ** inst,
case OP_TEX_KIL:
if (parse_fp_vector_src_reg(ctx, inst, vc_head, Program, &fp->SrcReg[0]))
return 1;
+ fp->Opcode = FP_OPCODE_KIL;
break;
}