forked from ShuriZma/suyu
1
0
Fork 0

glsl: Fixup build issues

This commit is contained in:
ReinUsesLisp 2021-07-10 17:57:35 -03:00 committed by ameerj
parent ef7bd53f18
commit 53667ddd4e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }