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

View File

@ -437,7 +437,7 @@ std::unique_ptr<GraphicsPipeline> ShaderCache::CreateGraphicsPipeline(
const std::string code{EmitGLASM(profile, runtime_info, program, binding)};
assembly_programs[stage_index] = CompileProgram(code, AssemblyStage(stage_index));
} else {
const auto code{EmitGLSL(profile, program, binding)};
const auto code{EmitGLSL(profile, runtime_info, program, binding)};
OGLShader shader;
AttachShader(Stage(stage_index), source_program.handle, code);
}