diff options
author | Ilia Mirkin <[email protected]> | 2014-07-05 19:52:20 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-09 22:32:13 -0400 |
commit | 7c9161521a38bc52a69b1fd26d55d7666476ed57 (patch) | |
tree | d851e2c5347cbee56e0a30c2ba195ae55fc20f0a /src/gallium/include | |
parent | ca5e15f40fb7902d1f00088fee8e613200393d69 (diff) |
gallium: add INTERP_* opcodes to support interpolateAt*
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_shader_tokens.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index e68258d7776..0d3ad6abb51 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -477,7 +477,11 @@ struct tgsi_property_data { #define TGSI_OPCODE_IMSB 190 #define TGSI_OPCODE_UMSB 191 -#define TGSI_OPCODE_LAST 192 +#define TGSI_OPCODE_INTERP_CENTROID 192 +#define TGSI_OPCODE_INTERP_SAMPLE 193 +#define TGSI_OPCODE_INTERP_OFFSET 194 + +#define TGSI_OPCODE_LAST 195 #define TGSI_SAT_NONE 0 /* do not saturate */ #define TGSI_SAT_ZERO_ONE 1 /* clamp to [0,1] */ |