diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-01-06 09:56:00 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-01-06 09:56:47 -0300 |
commit | a195f81a6a4d6e35f01b499000062b7d4c9d1713 (patch) | |
tree | 7baa771455bcdf334b711aa5a2f56d85e51a0556 /drivers/gles3/shader_compiler_gles3.h | |
parent | 955094ea78d7bcadb0929003642317d875273b68 (diff) |
Improve detection of variable writing in shader, fixes #15177
Diffstat (limited to 'drivers/gles3/shader_compiler_gles3.h')
-rw-r--r-- | drivers/gles3/shader_compiler_gles3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shader_compiler_gles3.h b/drivers/gles3/shader_compiler_gles3.h index 44141c09f1..85e8e02b8e 100644 --- a/drivers/gles3/shader_compiler_gles3.h +++ b/drivers/gles3/shader_compiler_gles3.h @@ -78,7 +78,7 @@ private: }; void _dump_function_deps(ShaderLanguage::ShaderNode *p_node, const StringName &p_for_func, const Map<StringName, String> &p_func_code, String &r_to_add, Set<StringName> &added); - String _dump_node_code(ShaderLanguage::Node *p_node, int p_level, GeneratedCode &r_gen_code, IdentifierActions &p_actions, const DefaultIdentifierActions &p_default_actions); + 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); StringName current_func_name; StringName vertex_name; |