Skip to content

Commit

Permalink
Merge pull request #139 from NEO97online/master
Browse files Browse the repository at this point in the history
fix array_count for jai generator
  • Loading branch information
floooh authored Aug 8, 2024
2 parents 85097fb + 4437848 commit 1af4075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shdc/generators/sokoljai.cc
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void SokolJaiGenerator::gen_shader_desc_func(const GenInput& gen, const ProgramR
const std::string un = fmt::format("{}.uniforms[{}]", ubn, u_index);
l("{}.name = \"{}.{}\";\n", un, ub->inst_name, u.name);
l("{}.type = {};\n", un, uniform_type(u.type));
l(".array_count = {};\n", un, u.array_count);
l("{}.array_count = {};\n", un, u.array_count);
}
}
}
Expand Down

0 comments on commit 1af4075

Please sign in to comment.