gallium: add INTERP_* opcodes to support interpolateAt*

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Ilia Mirkin
2014-07-05 19:52:20 -04:00
parent ca5e15f40f
commit 7c9161521a
3 changed files with 32 additions and 1 deletions

View File

@@ -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] */