aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-07-31 21:28:40 -0400
committerMarek Olšák <[email protected]>2019-08-12 14:52:17 -0400
commit902dd50cf0f31fe1e730ee077c9e23716d06e066 (patch)
tree9879a1a1b10e98114eae8e9b07bd94158a09c48f /src/gallium/include
parent6a2bdb8d013bc589247831fd7cc9943c6992d832 (diff)
gallium: add AMD-specific compute TGSI enums
for tgsi_to_nir
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 0c5ee580fb0..bff3b78ab24 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -208,6 +208,7 @@ enum tgsi_semantic {
TGSI_SEMANTIC_SUBGROUP_GT_MASK,
TGSI_SEMANTIC_SUBGROUP_LE_MASK,
TGSI_SEMANTIC_SUBGROUP_LT_MASK,
+ TGSI_SEMANTIC_CS_USER_DATA_AMD,
TGSI_SEMANTIC_COUNT, /**< number of semantic values */
};
@@ -302,6 +303,7 @@ enum tgsi_property_name {
TGSI_PROPERTY_CS_FIXED_BLOCK_DEPTH,
TGSI_PROPERTY_MUL_ZERO_WINS,
TGSI_PROPERTY_VS_BLIT_SGPRS_AMD,
+ TGSI_PROPERTY_CS_USER_DATA_COMPONENTS_AMD,
TGSI_PROPERTY_COUNT,
};