refactor(shader): reduce dispatcher state overhead

This commit is contained in:
nmzik committed 2026-08-21 03:32:47 +02:00
1 parent 6e9f162bd4
commit 87166eed94
9 files changed
+557 -124

No files matched your search

@@ -46,6 +46,7 @@ std::string MakeIrDump(const CFG::Graph& cfg, const IR::Program& ir) {
std::string dump = "CFG:\n";
dump += CFG::GraphToString(cfg);
dump += "\nIR:\n";
dump += fmt::format("mode={}\n", ir.dispatcher_fallback ? "dispatcher" : "structured");
dump += ir.values != nullptr ? IR::ValueProgramToString(*ir.values) : IR::ProgramToString(ir);
return dump;
}