Set fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs.
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 1 Jul 2005 17:12:29 +0000 (17:12 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 1 Jul 2005 17:12:29 +0000 (17:12 +0000)
src/mesa/shader/arbprogparse.c

index b9bd1b0..e33b79e 100644 (file)
@@ -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;
    }