summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-12-11 03:49:43 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-12-11 03:52:51 +0100
commit48e16c4c496474793da36fde89a3f0d5c5f69b28 (patch)
treef53bf8283c65ad9322084be92985130e58604bad /src
parentMerge pull request #3208 from ReinUsesLisp/vk-shader-decompiler (diff)
downloadyuzu-48e16c4c496474793da36fde89a3f0d5c5f69b28.tar
yuzu-48e16c4c496474793da36fde89a3f0d5c5f69b28.tar.gz
yuzu-48e16c4c496474793da36fde89a3f0d5c5f69b28.tar.bz2
yuzu-48e16c4c496474793da36fde89a3f0d5c5f69b28.tar.lz
yuzu-48e16c4c496474793da36fde89a3f0d5c5f69b28.tar.xz
yuzu-48e16c4c496474793da36fde89a3f0d5c5f69b28.tar.zst
yuzu-48e16c4c496474793da36fde89a3f0d5c5f69b28.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp4
1 files changed, 2 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 370bdf052..270a9dc2b 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -281,11 +281,11 @@ CachedProgram BuildShader(const Device& device, u64 unique_identifier, ShaderTyp
if (variant.shared_memory_size > 0) {
// TODO(Rodrigo): We should divide by four here, but having a larger shared memory pool
// avoids out of bound stores. Find out why shared memory size is being invalid.
- source += fmt::format("shared uint smem[{}];", variant.shared_memory_size);
+ source += fmt::format("shared uint smem[{}];\n", variant.shared_memory_size);
}
if (variant.local_memory_size > 0) {
- source += fmt::format("#define LOCAL_MEMORY_SIZE {}",
+ source += fmt::format("#define LOCAL_MEMORY_SIZE {}\n",
Common::AlignUp(variant.local_memory_size, 4) / 4);
}
}