diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2021-01-15 12:54:45 +0000 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-06-10 13:17:22 +0000 |
commit | 7c63ec70ef664d55fbfc77dde6bb81b8a6a73805 (patch) | |
tree | 20245fb586d921778ca9c092a302b31947a3317a /src/compiler | |
parent | 938098c98d496ab950d33cfdd1dc46624f5118fd (diff) |
nir: document that ACCESS_RESTRICT is not set at intrinsics
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7295>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir_intrinsics.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py index 01a2f07c019..6bda991fe91 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -184,7 +184,8 @@ index("bool", "image_array") # Image format for image intrinsics index("enum pipe_format", "format") -# Access qualifiers for image and memory access intrinsics +# Access qualifiers for image and memory access intrinsics. ACCESS_RESTRICT is +# not set at the intrinsic if the NIR was created from SPIR-V. index("enum gl_access_qualifier", "access") # Alignment for offsets and addresses |