diff options
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 942e647f94c..31d611a620d 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -431,6 +431,12 @@ typedef struct nir_variable { unsigned stream:9; /** + * Access flags for memory variables (SSBO/global), image uniforms, and + * bindless images in uniforms/inputs/outputs. + */ + enum gl_access_qualifier access:8; + + /** * output index for dual source blending. */ unsigned index; @@ -480,12 +486,7 @@ typedef struct nir_variable { unsigned offset; union { - /** - * ARB_shader_image_load_store qualifiers. - */ struct { - enum gl_access_qualifier access:8; - /** Image internal format if specified explicitly, otherwise GL_NONE. */ GLenum16 format; } image; |