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 <marek.olsak@amd.com>
This commit is contained in:
Timothy Arceri
2017-07-24 10:24:53 +10:00
parent 12e1f0c696
commit 4c2422067b
9 changed files with 94 additions and 44 deletions

View File

@@ -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 */