From 7c63ec70ef664d55fbfc77dde6bb81b8a6a73805 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Fri, 15 Jan 2021 12:54:45 +0000 Subject: [PATCH] nir: document that ACCESS_RESTRICT is not set at intrinsics MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/compiler/nir/nir_intrinsics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py index 01a2f07..6bda991 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 -- 2.7.4