summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorBryan Cain <[email protected]>2012-01-07 10:43:04 -0600
committerBryan Cain <[email protected]>2012-01-07 15:37:32 -0600
commit4c0f1fb5ec6117f07c9c911d7f74ff0d18c51d98 (patch)
tree4cdf083dc38f0938c6e879358160700398b4171e /src/gallium/include
parent291e374ea5528abd084bf0e9996a81b2f2e65e10 (diff)
gallium: add an IABS opcode to TGSI
This is a necessary operation that is missing from TGSI. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index b24b64c5861..75e17a1f74e 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -376,8 +376,9 @@ struct tgsi_property_data {
#define TGSI_OPCODE_UARL 157
#define TGSI_OPCODE_UCMP 158
+#define TGSI_OPCODE_IABS 159
-#define TGSI_OPCODE_LAST 159
+#define TGSI_OPCODE_LAST 160
#define TGSI_SAT_NONE 0 /* do not saturate */
#define TGSI_SAT_ZERO_ONE 1 /* clamp to [0,1] */