summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_buffer_access.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-07-24 10:24:53 +1000
committerTimothy Arceri <[email protected]>2017-08-22 11:29:27 +1000
commit4c2422067b5c114977d228b38ee95077cd55b7e9 (patch)
tree6ce41113095e4e3b6429b569f4c20c09cf5c6708 /src/compiler/glsl/lower_buffer_access.h
parent12e1f0c69676c256279f29309c36ece584f02c17 (diff)
glsl: pass UseSTD430AsDefaultPacking to where it will be used
Here we also make use of the UseSTD430AsDefaultPacking constant and call the new get_internal_ifc_packing() helper. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/glsl/lower_buffer_access.h')
-rw-r--r--src/compiler/glsl/lower_buffer_access.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/lower_buffer_access.h b/src/compiler/glsl/lower_buffer_access.h
index cb186f0dcf6..9e89d324bed 100644
--- a/src/compiler/glsl/lower_buffer_access.h
+++ b/src/compiler/glsl/lower_buffer_access.h
@@ -58,6 +58,9 @@ public:
bool *row_major, int *matrix_columns,
const glsl_struct_field **struct_field,
enum glsl_interface_packing packing);
+
+protected:
+ bool use_std430_as_default;
};
} /* namespace lower_buffer_access */