shader: share indirect buffer format geometry lookup

This commit is contained in:
nmzik
2026-10-15 02:05:10 +02:00
parent 28766a915b
commit 1d3fd07fe6
4 changed files with 80 additions and 23 deletions
@@ -669,7 +669,7 @@ void EmitProgram(EmitterState& state) {
}
DefineGetBdaPointer(state);
DefineIndirectBufferLoads(ctx);
DefineConvertIndirectBufferFormat(ctx);
DefineIndirectBufferFormats(ctx);
DefineBvhIntersect(state);
if (program.info.uses_swizzle) {
ctx.scratch_u32_variable = state.builder.AllocateId();