Skip to content

Commit

Permalink
jai generator: fix missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Oct 27, 2024
1 parent 069082b commit 24d9968
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 @@ -231,7 +231,7 @@ void SokolJaiGenerator::gen_shader_desc_func(const GenInput& gen, const ProgramR
const UniformBlock* ub = prog.bindings.find_uniform_block_by_sokol_slot(ub_index);
if (ub) {
const std::string ubn = fmt::format("desc.uniform_blocks[{}]", ub_index);
l("{}.stage = {}\n", ubn, shader_stage(ub->stage));
l("{}.stage = {};\n", ubn, shader_stage(ub->stage));
l("{}.layout = .STD140;\n", ubn);
l("{}.size = {};\n", ubn, roundup(ub->struct_info.size, 16));
if (Slang::is_hlsl(slang)) {
Expand Down

0 comments on commit 24d9968

Please sign in to comment.