shader: preserve folded native constants for descriptor provenance

This commit is contained in:
nmzik committed 2026-10-15 23:22:30 +02:00
1 parent e4019af522
commit c8caa27936
11 files changed
+111 -43

No files matched your search

@@ -318,7 +318,7 @@ void LowerTessellationMemory(IR::Program& program, const CompileOptions& options
}
}
ConstantPropagationPass(program.blocks, program.wave_size);
RemoveIdentities(program.blocks);
RemoveIdentities(program);
EliminateDeadCode(program.blocks);
LOGF("%s tessellation lowering: reads=%u writes=%u factors=%u\n",
options.stage == ShaderType::Local ? "LS"