diff options
author | Ilia Mirkin <[email protected]> | 2016-05-29 11:01:05 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-06-06 20:49:28 -0400 |
commit | 30684b50d71d4d5356b671293af4b9f3fd6161ff (patch) | |
tree | 8cb3a0c87da9ba19e79d0ec02055c469fc3bce48 /src/gallium/include | |
parent | 5189f0243a3dd8698c645bbe762b8a1a3caaf1a9 (diff) |
gallium: add VOTE_* opcodes to implement GL_ARB_shader_group_vote
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_shader_tokens.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index b9d28fe458c..abf26d3b468 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -561,7 +561,12 @@ struct tgsi_property_data { #define TGSI_OPCODE_DFLR 220 /* nvc0 */ #define TGSI_OPCODE_DROUND 221 /* nvc0 */ #define TGSI_OPCODE_DSSG 222 -#define TGSI_OPCODE_LAST 223 + +#define TGSI_OPCODE_VOTE_ANY 223 +#define TGSI_OPCODE_VOTE_ALL 224 +#define TGSI_OPCODE_VOTE_EQ 225 + +#define TGSI_OPCODE_LAST 226 /** * Opcode is the operation code to execute. A given operation defines the |