glasm: Support textures used in more than one stage
This commit is contained in:
parent
3d3ed53511
commit
8b7d5912d6
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