aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/nir
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-07-31 21:33:37 -0400
committerMarek Olšák <[email protected]>2019-08-12 14:52:17 -0400
commitf0ccc5457aa7302960f1c43e2e8243edab61991d (patch)
treefdf0446b11fe36a86e24d469c1a1a18d9910ea30 /src/gallium/auxiliary/nir
parent155789c8e7cfa31084807a6f005413660dccf30a (diff)
compiler: add shader_info.cs.user_data_components_amd
Diffstat (limited to 'src/gallium/auxiliary/nir')
-rw-r--r--src/gallium/auxiliary/nir/tgsi_to_nir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c
index 1195d522239..a23ed4d685f 100644
--- a/src/gallium/auxiliary/nir/tgsi_to_nir.c
+++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c
@@ -2455,6 +2455,9 @@ ttn_compile_init(const void *tgsi_tokens,
case TGSI_PROPERTY_CS_FIXED_BLOCK_DEPTH:
s->info.cs.local_size[2] = value;
break;
+ case TGSI_PROPERTY_CS_USER_DATA_COMPONENTS_AMD:
+ s->info.cs.user_data_components_amd = value;
+ break;
default:
if (value) {
fprintf(stderr, "tgsi_to_nir: unhandled TGSI property %u = %u\n",