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:
@@ -122,7 +122,7 @@ public:
|
||||
* matter. For example, enumerating the names of members of the block, but
|
||||
* not for determining the offsets of members.
|
||||
*/
|
||||
void process(ir_variable *var);
|
||||
void process(ir_variable *var, bool use_std430_as_default);
|
||||
|
||||
/**
|
||||
* Begin processing a variable of a structured type.
|
||||
@@ -139,7 +139,8 @@ public:
|
||||
* \c type must be \c GLSL_TYPE_RECORD, \c GLSL_TYPE_INTERFACE, or an array
|
||||
* there of.
|
||||
*/
|
||||
void process(const glsl_type *type, const char *name);
|
||||
void process(const glsl_type *type, const char *name,
|
||||
bool use_std430_as_default);
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
Reference in New Issue
Block a user