summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/linker.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/linker.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/linker.h')
-rw-r--r--src/compiler/glsl/linker.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/glsl/linker.h b/src/compiler/glsl/linker.h
index dd627be5f10..5cec121e634 100644
--- a/src/compiler/glsl/linker.h
+++ b/src/compiler/glsl/linker.h
@@ -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:
/**