diff options
author | Bryan Cain <[email protected]> | 2011-09-10 12:31:54 -0500 |
---|---|---|
committer | Bryan Cain <[email protected]> | 2011-09-10 12:46:41 -0500 |
commit | 324ac982d8e7c2693035342de2d24baff3042911 (patch) | |
tree | 2292218438c582665e41c1c64db654607589956b /src/gallium/include/pipe | |
parent | 9222c497f9e73ae19b1b4dab1d9c9b4aa797b11d (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/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_shader_tokens.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index b9e3dcf8858..7236c9220df 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -363,7 +363,10 @@ struct tgsi_property_data { #define TGSI_OPCODE_SAMPLE_POS 155 #define TGSI_OPCODE_SAMPLE_INFO 156 -#define TGSI_OPCODE_LAST 157 +#define TGSI_OPCODE_UARL 157 +#define TGSI_OPCODE_UCMP 158 + +#define TGSI_OPCODE_LAST 159 #define TGSI_SAT_NONE 0 /* do not saturate */ #define TGSI_SAT_ZERO_ONE 1 /* clamp to [0,1] */ |