From 443784896de0078f0aa061a2d34447f14e509858 Mon Sep 17 00:00:00 2001 From: NEO97 Date: Thu, 8 Aug 2024 02:12:24 -0400 Subject: [PATCH] fix array_count for jai generator --- src/shdc/generators/sokoljai.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shdc/generators/sokoljai.cc b/src/shdc/generators/sokoljai.cc index 3571eed3..ef920795 100644 --- a/src/shdc/generators/sokoljai.cc +++ b/src/shdc/generators/sokoljai.cc @@ -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); } } }