nir: document that ACCESS_RESTRICT is not set at intrinsics
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 15 Jan 2021 12:54:45 +0000 (12:54 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 13:17:22 +0000 (13:17 +0000)
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>

src/compiler/nir/nir_intrinsics.py

index 01a2f07..6bda991 100644 (file)
@@ -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