gallium: Make a note that OPCODE_KIL is a conditional kill.
authorMichal Krol <michal@tungstengraphics.com>
Wed, 13 Aug 2008 07:15:27 +0000 (09:15 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Wed, 13 Aug 2008 07:15:27 +0000 (09:15 +0200)
Map OPCODE_TEXKILL to OPCODE_KIL.

src/gallium/include/pipe/p_shader_tokens.h

index ed931d24b99fef9eca66531121d631533602dbc8..3ab0c7deafa2a92706c311aaa43d361cf1bd934f 100644 (file)
@@ -240,6 +240,7 @@ struct tgsi_immediate_float32
  * GL_ARB_fragment_program
  */
 #define TGSI_OPCODE_CMP                 66
+#define TGSI_OPCODE_KIL                 116  /* conditional kill */
 #define TGSI_OPCODE_SCS                 67
 #define TGSI_OPCODE_TXB                 68
 
@@ -327,7 +328,7 @@ struct tgsi_immediate_float32
 /*
  * ps_1_1
  */
-#define TGSI_OPCODE_TEXKILL             TGSI_OPCODE_KILP
+#define TGSI_OPCODE_TEXKILL             TGSI_OPCODE_KIL
 
 /*
  * ps_1_2
@@ -386,7 +387,6 @@ struct tgsi_immediate_float32
  * vs_2_x
  */
 
-#define TGSI_OPCODE_KIL                 116  /* unpredicated kill */
 #define TGSI_OPCODE_END                 117  /* aka HALT */
 
 #define TGSI_OPCODE_LAST                119