refactor(shader): emit SPIR-V declarations on demand

This commit is contained in:
nmzik committed 2026-08-21 03:32:47 +02:00
1 parent e1bcc298a0
commit d34e30d892
20 files changed
+1629 -1495

No files matched your search

@@ -942,7 +942,7 @@ bool TryRecompile(std::span<const uint32_t> code, const CompileOptions& options,
if (!IR::AllocateBindings(ir, layout_options, error)) {
return false;
}
ir.spirv_requirements = Spirv::GetProgramRequirements(ir);
Spirv::AnalyzeProgramRequirements(ir);
std::string ir_dump;
if (options.dump_ir) {
ir_dump = MakeIrDump(cfg, ir);