mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Fix syntax parsing error of uniform arrays declaration in shader
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user