mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-01 08:22:53 +00:00
glsl: Fixup build issues
This commit is contained in:
parent
ef7bd53f18
commit
53667ddd4e
|
@ -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