summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_enums.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-02-27 14:36:44 -0600
committerJason Ekstrand <[email protected]>2019-03-25 15:00:36 -0500
commit3bd54576415130465f096d73b7940dfbe02bb71b (patch)
tree41f7b4df6f3848b208e0b30b8a962553e8a53b15 /src/compiler/shader_enums.h
parent39da1deb497af55496308c0867b5ce5a0e9df56e (diff)
nir: Add a lowering pass for non-uniform resource access
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.h')
-rw-r--r--src/compiler/shader_enums.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index fe26d03a920..883b2825146 100644
--- a/src/compiler/shader_enums.h
+++ b/src/compiler/shader_enums.h
@@ -716,6 +716,9 @@ enum gl_access_qualifier
ACCESS_VOLATILE = (1 << 2),
ACCESS_NON_READABLE = (1 << 3),
ACCESS_NON_WRITEABLE = (1 << 4),
+
+ /** The access may use a non-uniform buffer or image index */
+ ACCESS_NON_UNIFORM = (1 << 5),
};
/**