diff options
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_cache.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index 4890d4a73..865c191bd 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -323,8 +323,7 @@ Shader CachedShader::CreateStageFromCache(const ShaderParameters& params, new CachedShader(params, GetProgramType(program_type), std::move(result))); } -Shader CachedShader::CreateKernelFromMemory(const ShaderParameters& params, - ProgramCode&& code) { +Shader CachedShader::CreateKernelFromMemory(const ShaderParameters& params, ProgramCode&& code) { auto result{CreateProgram(params.device, ProgramType::Compute, code, {})}; const auto code_size{CalculateProgramSize(code)}; |