Fix shader crash when passing array.length to functions

and similar cases
This commit is contained in:
Yuri Roubinsky 2021-10-05 09:47:50 +03:00
parent 0e1f4628f4
commit 7c07ae4c50
2 changed files with 50 additions and 65 deletions

View file

@ -876,7 +876,6 @@ private:
StringName current_function;
bool last_const = false;
bool pass_array = false;
StringName last_name;
VaryingFunctionNames varying_function_names;