diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-10-04 23:17:22 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-10-04 23:19:43 +0300 |
commit | 69ece7365369ced53d4e89c0b3ec2c14ea7a1de4 (patch) | |
tree | 88f48d2a6f46f6484c9745739c997ac53f6f4cd9 /servers/rendering | |
parent | ad08483fa6a424de00ae4819555f1c7f8758524f (diff) |
Fix syntax parsing error of uniform arrays declaration in shader
Diffstat (limited to 'servers/rendering')
-rw-r--r-- | servers/rendering/shader_language.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp index c887195d1c..f99637fb06 100644 --- a/servers/rendering/shader_language.cpp +++ b/servers/rendering/shader_language.cpp @@ -7238,10 +7238,6 @@ Error ShaderLanguage::_parse_shader(const Map<StringName, FunctionInfo> &p_funct tk = _get_token(); if (tk.type == TK_BRACKET_OPEN) { - if (uniform) { - _set_error(vformat("Uniform arrays are not yet implemented!")); - return ERR_PARSE_ERROR; - } tk = _get_token(); if (tk.type == TK_INT_CONSTANT && tk.constant > 0) { |