소스 검색

glsl: Fixup build issues

ReinUsesLisp 5 년 전
부모
커밋
53667ddd4e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/video_core/renderer_opengl/gl_shader_cache.cpp

+ 1 - 1
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);
         }