diff options
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 6a872c508bd..021d4c91323 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -625,11 +625,16 @@ typedef struct { nir_variable *var; } nir_deref_var; +typedef enum { + nir_deref_array_type_direct, + nir_deref_array_type_indirect, +} nir_deref_array_type; + typedef struct { nir_deref deref; + nir_deref_array_type deref_array_type; unsigned base_offset; - bool has_indirect; nir_src indirect; } nir_deref_array; |