diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-04-02 21:59:58 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:26 +0200 |
commit | 595806fb1c81f0c57bb31d1f232d1447d4f61745 (patch) | |
tree | b77f43e4e51488465a05ec41aa45a57962ae0e2b /src/shader_recompiler/backend/spirv/emit_context.cpp | |
parent | shader: Implement MEMBAR (diff) | |
download | yuzu-595806fb1c81f0c57bb31d1f232d1447d4f61745.tar yuzu-595806fb1c81f0c57bb31d1f232d1447d4f61745.tar.gz yuzu-595806fb1c81f0c57bb31d1f232d1447d4f61745.tar.bz2 yuzu-595806fb1c81f0c57bb31d1f232d1447d4f61745.tar.lz yuzu-595806fb1c81f0c57bb31d1f232d1447d4f61745.tar.xz yuzu-595806fb1c81f0c57bb31d1f232d1447d4f61745.tar.zst yuzu-595806fb1c81f0c57bb31d1f232d1447d4f61745.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.cpp b/src/shader_recompiler/backend/spirv/emit_context.cpp index a8041aadc..794cd4ed8 100644 --- a/src/shader_recompiler/backend/spirv/emit_context.cpp +++ b/src/shader_recompiler/backend/spirv/emit_context.cpp @@ -238,6 +238,7 @@ void EmitContext::DefineSharedMemory(const IR::Program& program) { std::tie(shared_memory_u32, shared_u32) = make(U32[1], 4); std::tie(shared_memory_u32x2, shared_u32x2) = make(U32[2], 8); std::tie(shared_memory_u32x4, shared_u32x4) = make(U32[4], 16); + return; } const u32 num_elements{Common::DivCeil(program.shared_memory_size, 4U)}; const Id type{TypeArray(U32[1], Constant(U32[1], num_elements))}; |