diff options
Diffstat (limited to 'lib/mesa/src/compiler/glsl/lower_buffer_access.h')
-rw-r--r-- | lib/mesa/src/compiler/glsl/lower_buffer_access.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mesa/src/compiler/glsl/lower_buffer_access.h b/lib/mesa/src/compiler/glsl/lower_buffer_access.h index cb186f0dc..8772bdb76 100644 --- a/lib/mesa/src/compiler/glsl/lower_buffer_access.h +++ b/lib/mesa/src/compiler/glsl/lower_buffer_access.h @@ -31,6 +31,7 @@ * shared variables. */ +#pragma once #ifndef LOWER_BUFFER_ACCESS_H #define LOWER_BUFFER_ACCESS_H @@ -53,11 +54,11 @@ public: bool is_dereferenced_thing_row_major(const ir_rvalue *deref); - void setup_buffer_access(void *mem_ctx, ir_rvalue *deref, + void setup_buffer_access(void *mem_ctx, ir_variable *var, ir_rvalue *deref, ir_rvalue **offset, unsigned *const_offset, bool *row_major, int *matrix_columns, const glsl_struct_field **struct_field, - enum glsl_interface_packing packing); + unsigned packing); }; } /* namespace lower_buffer_access */ |