aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2012-04-30 20:21:38 +0200
committerFrancisco Jerez <[email protected]>2012-05-11 12:39:41 +0200
commit9e550c34237898385c07af2cbb2da76670ed994e (patch)
tree88ed61d838762ab6e4b1e81667fe6cf41e1dfb39 /src/gallium/include
parent581ddbcf93ea8111e71ef43e90fa6937cf46a2cb (diff)
gallium/tgsi: Add support for barriers.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h7
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 70a3221f8a9..41347ad2026 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -413,7 +413,12 @@ struct tgsi_property_data {
#define TGSI_OPCODE_LOAD 161
#define TGSI_OPCODE_STORE 162
-#define TGSI_OPCODE_LAST 163
+#define TGSI_OPCODE_MFENCE 163
+#define TGSI_OPCODE_LFENCE 164
+#define TGSI_OPCODE_SFENCE 165
+#define TGSI_OPCODE_BARRIER 166
+
+#define TGSI_OPCODE_LAST 167
#define TGSI_SAT_NONE 0 /* do not saturate */
#define TGSI_SAT_ZERO_ONE 1 /* clamp to [0,1] */