aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_intrinsics.py
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-07-31 21:52:48 -0400
committerMarek Olšák <[email protected]>2019-08-12 14:52:17 -0400
commit1b881852bcc61f20ca46a27e29f4503b93f443be (patch)
tree148835f4b8405984053da192cc954a254369c222 /src/compiler/nir/nir_intrinsics.py
parentf0ccc5457aa7302960f1c43e2e8243edab61991d (diff)
compiler: add SYSTEM_VALUE_USER_DATA_AMD
for internal radeonsi shaders
Diffstat (limited to 'src/compiler/nir/nir_intrinsics.py')
-rw-r--r--src/compiler/nir/nir_intrinsics.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py
index cbbf8fba89e..f4ca623bb3d 100644
--- a/src/compiler/nir/nir_intrinsics.py
+++ b/src/compiler/nir/nir_intrinsics.py
@@ -614,6 +614,9 @@ system_value("blend_const_color_aaaa8888_unorm", 1)
system_value("color0", 4)
system_value("color1", 4)
+# System value for internal compute shaders in radeonsi.
+system_value("user_data_amd", 4)
+
# Barycentric coordinate intrinsics.
#
# These set up the barycentric coordinates for a particular interpolation.