diff options
Diffstat (limited to 'src/compiler/glsl/linker.h')
-rw-r--r-- | src/compiler/glsl/linker.h | 5 |
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: /** |