summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_info.c
diff options
context:
space:
mode:
authorBryan Cain <[email protected]>2011-09-10 12:31:54 -0500
committerBryan Cain <[email protected]>2011-09-10 12:46:41 -0500
commit324ac982d8e7c2693035342de2d24baff3042911 (patch)
tree2292218438c582665e41c1c64db654607589956b /src/gallium/auxiliary/tgsi/tgsi_info.c
parent9222c497f9e73ae19b1b4dab1d9c9b4aa797b11d (diff)
gallium: add TGSI opcodes UARL and UCMP
They are needed by glsl_to_tgsi for an efficient implementation using native integers. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_info.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_info.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c
index 14ed56a1f6a..6cd580a7fe2 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_info.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_info.c
@@ -189,6 +189,9 @@ static const struct tgsi_opcode_info opcode_info[TGSI_OPCODE_LAST] =
{ 1, 2, 0, 0, 0, 0, "RESINFO", TGSI_OPCODE_RESINFO },
{ 1, 2, 0, 0, 0, 0, "SAMPLE_POS", TGSI_OPCODE_SAMPLE_POS },
{ 1, 2, 0, 0, 0, 0, "SAMPLE_INFO", TGSI_OPCODE_SAMPLE_INFO },
+
+ { 1, 1, 0, 0, 0, 0, "UARL", TGSI_OPCODE_UARL },
+ { 1, 3, 0, 0, 0, 0, "UCMP", TGSI_OPCODE_UCMP },
};
const struct tgsi_opcode_info *