mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 18:45:45 +00:00
glasm: Support textures used in more than one stage
This commit is contained in:
parent
e4835094aa
commit
0c82ee3444
4 changed files with 25 additions and 5 deletions
|
@ -312,8 +312,8 @@ std::string_view StageHeader(Stage stage) {
|
|||
}
|
||||
} // Anonymous namespace
|
||||
|
||||
std::string EmitGLASM(const Profile&, IR::Program& program, Bindings&) {
|
||||
EmitContext ctx{program};
|
||||
std::string EmitGLASM(const Profile&, IR::Program& program, Bindings& bindings) {
|
||||
EmitContext ctx{program, bindings};
|
||||
Precolor(ctx, program);
|
||||
EmitCode(ctx, program);
|
||||
std::string header{StageHeader(program.stage)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue