summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-07-16 01:33:51 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-07-16 01:33:51 +0200
commit2a4044a85877f6b1c3c91fcfe7242a162bee6ccb (patch)
tree2467cb1fbe3842584218f08a88afbdba8d33f46f /src/video_core
parentgl_shader_decompiler: Stub local memory size (diff)
downloadyuzu-2a4044a85877f6b1c3c91fcfe7242a162bee6ccb.tar
yuzu-2a4044a85877f6b1c3c91fcfe7242a162bee6ccb.tar.gz
yuzu-2a4044a85877f6b1c3c91fcfe7242a162bee6ccb.tar.bz2
yuzu-2a4044a85877f6b1c3c91fcfe7242a162bee6ccb.tar.lz
yuzu-2a4044a85877f6b1c3c91fcfe7242a162bee6ccb.tar.xz
yuzu-2a4044a85877f6b1c3c91fcfe7242a162bee6ccb.tar.zst
yuzu-2a4044a85877f6b1c3c91fcfe7242a162bee6ccb.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp3
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.h3
2 files changed, 2 insertions, 4 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)};
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.h b/src/video_core/renderer_opengl/gl_shader_cache.h
index 5e86c6648..a3106a0ff 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.h
+++ b/src/video_core/renderer_opengl/gl_shader_cache.h
@@ -55,8 +55,7 @@ class CachedShader final : public RasterizerCacheObject {
public:
static Shader CreateStageFromMemory(const ShaderParameters& params,
Maxwell::ShaderProgram program_type,
- ProgramCode&& program_code,
- ProgramCode&& program_code_b);
+ ProgramCode&& program_code, ProgramCode&& program_code_b);
static Shader CreateStageFromCache(const ShaderParameters& params,
Maxwell::ShaderProgram program_type,