mesa: KIL -> KIL, KIL_NV -> KILP.
authorMichal Krol <michal@tungstengraphics.com>
Wed, 13 Aug 2008 09:19:24 +0000 (11:19 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Wed, 13 Aug 2008 09:19:24 +0000 (11:19 +0200)
src/mesa/state_tracker/st_mesa_to_tgsi.c

index 6565107b107ce466cd85dc3307f689bb3e48b104..198d406b59332af1356689507d0d429be280b26f 100644 (file)
@@ -376,13 +376,13 @@ compile_instruction(
       fullinst->Instruction.Opcode = TGSI_OPCODE_INT;
       break;
    case OPCODE_KIL:
-      /* predicated w/ a register */
-      fullinst->Instruction.Opcode = TGSI_OPCODE_KILP;
+      /* conditional */
+      fullinst->Instruction.Opcode = TGSI_OPCODE_KIL;
       break;
    case OPCODE_KIL_NV:
-      /* unpredicated */
+      /* predicated */
       assert(inst->DstReg.CondMask == COND_TR);
-      fullinst->Instruction.Opcode = TGSI_OPCODE_KIL;
+      fullinst->Instruction.Opcode = TGSI_OPCODE_KILP;
       break;
    case OPCODE_LG2:
       fullinst->Instruction.Opcode = TGSI_OPCODE_LG2;