Fix uniform subgroup in shader will carry out to next group
This commit is contained in:
parent
e343dbbcc1
commit
e6c45fbe5d
|
@ -9204,6 +9204,7 @@ Error ShaderLanguage::_parse_shader(const HashMap<StringName, FunctionInfo> &p_f
|
||||||
tk = _get_token();
|
tk = _get_token();
|
||||||
if (tk.type == TK_IDENTIFIER) {
|
if (tk.type == TK_IDENTIFIER) {
|
||||||
current_uniform_group_name = tk.text;
|
current_uniform_group_name = tk.text;
|
||||||
|
current_uniform_subgroup_name = "";
|
||||||
tk = _get_token();
|
tk = _get_token();
|
||||||
if (tk.type == TK_PERIOD) {
|
if (tk.type == TK_PERIOD) {
|
||||||
tk = _get_token();
|
tk = _get_token();
|
||||||
|
|
Loading…
Reference in New Issue