summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_buffer_access.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-11-13 12:08:26 -0800
committerJordan Justen <[email protected]>2015-12-09 23:50:38 -0800
commit99c8196458dc8f299d0b49c8ee801d6e9a2bc1db (patch)
tree3bcd97750cf862fce632dc0feec83facaae7ba8c /src/glsl/lower_buffer_access.h
parentafa4129cf6ee0a64811b118d270f1b05d7d05325 (diff)
glsl ubo/ssbo: Move is_dereferenced_thing_row_major into lower_buffer_access
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl/lower_buffer_access.h')
-rw-r--r--src/glsl/lower_buffer_access.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/lower_buffer_access.h b/src/glsl/lower_buffer_access.h
index 0ef6f47f4f0..806687609b5 100644
--- a/src/glsl/lower_buffer_access.h
+++ b/src/glsl/lower_buffer_access.h
@@ -51,6 +51,8 @@ public:
ir_variable *base_offset, unsigned int deref_offset,
bool row_major, int matrix_columns,
unsigned int packing, unsigned int write_mask);
+
+ bool is_dereferenced_thing_row_major(const ir_rvalue *deref);
};
} /* namespace lower_buffer_access */