shader: share emitter helpers

This commit is contained in:
nmzik committed 2026-09-08 21:26:59 +04:00
1 parent de3e86791c
commit 2b3993a595
9 files changed
+50 -95

No files matched your search

@@ -332,7 +332,7 @@ std::vector<uint32_t> EmitProgram(const IR::Program& program,
AllocateInputVariables(state);
AllocateOutputVariables(state);
DefineModule(state);
EmitProgram(state, program);
EmitProgram(state);
state.builder.AddEntryPoint(ExecutionModelForStage(state.stage), state.main_func, "main",
state.interface_variables);