diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-06-03 19:08:36 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-06-03 19:39:48 +0300 |
commit | 1a7e1013240fb3d7aa39ad0ac6bfd6364718d61b (patch) | |
tree | 067ee48435ef5bf0b51fbe970dc79116e95cff11 /drivers/gles2/shader_compiler_gles2.h | |
parent | dc67d0737b86c7a6cab66752b96631c59c703997 (diff) |
Fix shader's length() function parsing in expressions
Diffstat (limited to 'drivers/gles2/shader_compiler_gles2.h')
-rw-r--r-- | drivers/gles2/shader_compiler_gles2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/shader_compiler_gles2.h b/drivers/gles2/shader_compiler_gles2.h index 369bf7877b..66a3af0739 100644 --- a/drivers/gles2/shader_compiler_gles2.h +++ b/drivers/gles2/shader_compiler_gles2.h @@ -75,7 +75,7 @@ private: }; void _dump_function_deps(ShaderLanguage::ShaderNode *p_node, const StringName &p_for_func, const Map<StringName, String> &p_func_code, StringBuilder &r_to_add, Set<StringName> &r_added); - String _dump_node_code(ShaderLanguage::Node *p_node, int p_level, GeneratedCode &r_gen_code, IdentifierActions &p_actions, const DefaultIdentifierActions &p_default_actions, bool p_assigning); + String _dump_node_code(ShaderLanguage::Node *p_node, int p_level, GeneratedCode &r_gen_code, IdentifierActions &p_actions, const DefaultIdentifierActions &p_default_actions, bool p_assigning, bool p_use_scope = true); StringName current_func_name; StringName vertex_name; |