diff options
author | Marek Olšák <[email protected]> | 2019-11-07 16:53:58 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-19 18:20:05 -0500 |
commit | ebe757965567c85286245f82ba5b8f90804da19a (patch) | |
tree | af76883208d4ff9f1dbcbd2ca471711922ffce0e /src/compiler/nir/nir.h | |
parent | 3a8d6868897c7dfe72bac09c1eddd551144ca751 (diff) |
nir: move data.image.access to data.access
The size of the data structure doesn't change.
Reviewed-by: Connor Abbott <[email protected]>
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; |