summaryrefslogtreecommitdiff
path: root/servers/visual/shader_language.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/visual/shader_language.h')
-rw-r--r--servers/visual/shader_language.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/servers/visual/shader_language.h b/servers/visual/shader_language.h
index e56fb35a8b..5a69a84650 100644
--- a/servers/visual/shader_language.h
+++ b/servers/visual/shader_language.h
@@ -538,6 +538,7 @@ public:
StringName name;
Node *owner;
Node *index_expression;
+ bool has_swizzling_duplicates;
virtual DataType get_datatype() const { return datatype; }
virtual String get_datatype_name() const { return String(struct_name); }
@@ -549,7 +550,8 @@ public:
datatype(TYPE_VOID),
array_size(0),
owner(NULL),
- index_expression(NULL) {}
+ index_expression(NULL),
+ has_swizzling_duplicates(false) {}
};
struct StructNode : public Node {