Skip to content

Commit

Permalink
Fix uniform subgroup in shader will carry out to next group
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjtxietian committed Jul 29, 2024
1 parent e343dbb commit e6c45fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions servers/rendering/shader_language.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9204,6 +9204,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();
Expand Down

0 comments on commit e6c45fb

Please sign in to comment.