tgsi: Add missing SWZ opcode.
authorMichal Krol <michal@tungstengraphics.com>
Sun, 13 Jul 2008 09:42:33 +0000 (11:42 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Sun, 13 Jul 2008 11:17:34 +0000 (13:17 +0200)
src/gallium/auxiliary/tgsi/util/tgsi_dump.c
src/gallium/auxiliary/tgsi/util/tgsi_text.c

index 59e7aae..cae74a9 100644 (file)
@@ -395,7 +395,8 @@ static const char *TGSI_OPCODES_SHORT[TGSI_OPCODE_LAST] =
    "IFC",
    "BREAKC",
    "KIL",
-   "END"
+   "END",
+   "SWZ"
 };
 
 static const char *TGSI_SATS[] =
index 03c9217..3415b38 100644 (file)
@@ -522,7 +522,8 @@ static const struct opcode_info opcode_info[TGSI_OPCODE_LAST] =
 { 1, 2, "IFC" },
 { 1, 2, "BREAKC" },
 { 1, 2, "KIL" },
-   { 0, 0, "END" }
+   { 0, 0, "END" },
+   { 1, 1, "SWZ" }
 };
 
 static boolean parse_instruction( struct translate_ctx *ctx )