From: Keith Whitwell Date: Fri, 1 Jul 2005 17:12:29 +0000 (+0000) Subject: Set fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=219f3c4489168efbb9ad008575d86023cf0463ef;p=mesa.git Set fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs. --- 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; }