summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-08-17 16:50:01 +1000
committerTimothy Arceri <[email protected]>2017-09-15 11:42:54 +1000
commit6fa60b5e409a514315ba787b33c80fd8b2e18d64 (patch)
tree002ab0d8ecf2142d5035d6f0c64ba533dd86e18b /src/gallium/include
parentb6f6ead198c51e2144c5e880007e2f0a6ffcad3a (diff)
gallium: add CONSTBUF type to tgsi_file_type
This will be use to distinguish between load types when using the TGSI_OPCODE_LOAD opcode. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 9648f5ae8ae..fa73054e5fd 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -74,6 +74,7 @@ enum tgsi_file_type {
TGSI_FILE_SAMPLER_VIEW,
TGSI_FILE_BUFFER,
TGSI_FILE_MEMORY,
+ TGSI_FILE_CONSTBUF,
TGSI_FILE_COUNT, /**< how many TGSI_FILE_ types */
};