diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-10-05 06:56:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 06:56:58 +0300 |
commit | 0e1f4628f472888f40bbb921afe87920e8605822 (patch) | |
tree | dc3b2d2accf90a33dabe57c04676cb4cacf3bbba /servers/rendering/shader_language.cpp | |
parent | 4778770d3c46a9a2af5e1514ed631316f804620c (diff) | |
parent | 69ece7365369ced53d4e89c0b3ec2c14ea7a1de4 (diff) |
Merge pull request #53412 from Chaosus/shader_fix_uniform_arrays
Diffstat (limited to 'servers/rendering/shader_language.cpp')
-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) { |