Fix syntax parsing error of uniform arrays declaration in shader
This commit is contained in:
parent
ad08483fa6
commit
69ece73653
1 changed files with 0 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue