From a52eaba78737fd6473490ee8fe6a8415cd52ef98 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 25 Apr 2014 01:43:05 -0400 Subject: gallium: add new opcodes for ARB_gs5 bit manipulation support Signed-off-by: Ilia Mirkin Reviewed-by: Roland Scheidegger --- src/gallium/include/pipe/p_shader_tokens.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/gallium/include/pipe') diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index b537166e93c..d095bd3a8f5 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -462,7 +462,16 @@ struct tgsi_property_data { #define TGSI_OPCODE_LODQ 183 -#define TGSI_OPCODE_LAST 184 +#define TGSI_OPCODE_IBFE 184 +#define TGSI_OPCODE_UBFE 185 +#define TGSI_OPCODE_BFI 186 +#define TGSI_OPCODE_BREV 187 +#define TGSI_OPCODE_POPC 188 +#define TGSI_OPCODE_LSB 189 +#define TGSI_OPCODE_IMSB 190 +#define TGSI_OPCODE_UMSB 191 + +#define TGSI_OPCODE_LAST 192 #define TGSI_SAT_NONE 0 /* do not saturate */ #define TGSI_SAT_ZERO_ONE 1 /* clamp to [0,1] */ -- cgit v1.2.3