1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Fix uniform subgroup in shader will carry out to next group

(cherry picked from commit e6c45fbe5d)
This commit is contained in:
jsjtxietian
2024-07-29 11:07:09 +08:00
committed by Rémi Verschelde
parent cbee16418a
commit a70df8537e

View File

@@ -9217,6 +9217,7 @@ Error ShaderLanguage::_parse_shader(const HashMap<StringName, FunctionInfo> &p_f
tk = _get_token();
if (tk.type == TK_IDENTIFIER) {
current_uniform_group_name = tk.text;
current_uniform_subgroup_name = "";
tk = _get_token();
if (tk.type == TK_PERIOD) {
tk = _get_token();