mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
glsl: Fixup build issues
This commit is contained in:
parent
ef7bd53f18
commit
53667ddd4e
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ std::unique_ptr<GraphicsPipeline> ShaderCache::CreateGraphicsPipeline(
|
||||||
const std::string code{EmitGLASM(profile, runtime_info, program, binding)};
|
const std::string code{EmitGLASM(profile, runtime_info, program, binding)};
|
||||||
assembly_programs[stage_index] = CompileProgram(code, AssemblyStage(stage_index));
|
assembly_programs[stage_index] = CompileProgram(code, AssemblyStage(stage_index));
|
||||||
} else {
|
} else {
|
||||||
const auto code{EmitGLSL(profile, program, binding)};
|
const auto code{EmitGLSL(profile, runtime_info, program, binding)};
|
||||||
OGLShader shader;
|
OGLShader shader;
|
||||||
AttachShader(Stage(stage_index), source_program.handle, code);
|
AttachShader(Stage(stage_index), source_program.handle, code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue