shader: share indirect buffer format geometry lookup

This commit is contained in:
nmzik committed 2026-10-15 22:28:01 +02:00
1 parent 28766a915b
commit 1d3fd07fe6
4 files changed
+80 -23

No files matched your search

@@ -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();