Browse Source

glsl: Fixup build issues

nce_cpp
ReinUsesLisp 5 years ago
committed by ameerj
parent
commit
fc7cb28bc7
  1. 2
      src/video_core/renderer_opengl/gl_shader_cache.cpp

2
src/video_core/renderer_opengl/gl_shader_cache.cpp

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

Loading…
Cancel
Save