diff options
Diffstat (limited to 'servers/visual/shader_language.h')
-rw-r--r-- | servers/visual/shader_language.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/visual/shader_language.h b/servers/visual/shader_language.h index aac5795e85..e56fb35a8b 100644 --- a/servers/visual/shader_language.h +++ b/servers/visual/shader_language.h @@ -529,6 +529,7 @@ public: struct MemberNode : public Node { DataType basetype; + bool basetype_const; StringName base_struct_name; DataPrecision precision; DataType datatype; @@ -544,6 +545,7 @@ public: MemberNode() : Node(TYPE_MEMBER), basetype(TYPE_VOID), + basetype_const(false), datatype(TYPE_VOID), array_size(0), owner(NULL), @@ -866,6 +868,7 @@ private: Node *_parse_and_reduce_expression(BlockNode *p_block, const Map<StringName, BuiltInInfo> &p_builtin_types); Error _parse_block(BlockNode *p_block, const Map<StringName, BuiltInInfo> &p_builtin_types, bool p_just_one = false, bool p_can_break = false, bool p_can_continue = false); String _get_shader_type_list(const Set<String> &p_shader_types) const; + String _get_qualifier_str(ArgumentQualifier p_qualifier) const; Error _parse_shader(const Map<StringName, FunctionInfo> &p_functions, const Vector<StringName> &p_render_modes, const Set<String> &p_shader_types); |