summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_buffer_access.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/lower_buffer_access.h')
-rw-r--r--src/glsl/lower_buffer_access.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/lower_buffer_access.h b/src/glsl/lower_buffer_access.h
index 806687609b5..cc4614e9792 100644
--- a/src/glsl/lower_buffer_access.h
+++ b/src/glsl/lower_buffer_access.h
@@ -53,6 +53,11 @@ public:
unsigned int packing, unsigned int write_mask);
bool is_dereferenced_thing_row_major(const 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,
+ unsigned packing);
};
} /* namespace lower_buffer_access */