diff options
author | Marek Olšák <[email protected]> | 2019-07-31 21:52:48 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-08-12 14:52:17 -0400 |
commit | 1b881852bcc61f20ca46a27e29f4503b93f443be (patch) | |
tree | 148835f4b8405984053da192cc954a254369c222 /src/gallium/auxiliary/nir | |
parent | f0ccc5457aa7302960f1c43e2e8243edab61991d (diff) |
compiler: add SYSTEM_VALUE_USER_DATA_AMD
for internal radeonsi shaders
Diffstat (limited to 'src/gallium/auxiliary/nir')
-rw-r--r-- | src/gallium/auxiliary/nir/tgsi_to_nir.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index a23ed4d685f..0a234808428 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -628,6 +628,10 @@ ttn_src_for_file_and_index(struct ttn_compile *c, unsigned file, unsigned index, op = nir_intrinsic_load_work_group_id; load = nir_load_work_group_id(b); break; + case TGSI_SEMANTIC_CS_USER_DATA_AMD: + op = nir_intrinsic_load_user_data_amd; + load = nir_load_user_data_amd(b); + break; default: unreachable("bad system value"); } |