tgsi: Add missing SWZ opcode.

This commit is contained in:
Michal Krol
2008-07-13 11:42:33 +02:00
parent ee647b9020
commit 625034104a
2 changed files with 4 additions and 2 deletions
+2 -1
View 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[] =
+2 -1
View 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 )