diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-04-10 08:32:55 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:26 +0200 |
commit | 5bfcafa0a21619e8cd82c38ec51e260838f42042 (patch) | |
tree | 05b34d95d2a32ef58ae76519610b002baa9f7adc /src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp | |
parent | shader_recompiler,video_core: Cleanup some GCC and Clang errors (diff) | |
download | yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.gz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.bz2 yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.lz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.xz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.zst yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.zip |
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp index 12a03ed6e..f6196653a 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp @@ -7,7 +7,6 @@ namespace Shader::Backend::SPIRV { namespace { Id WarpExtract(EmitContext& ctx, Id value) { - [[maybe_unused]] const Id shift{ctx.Constant(ctx.U32[1], 5)}; const Id local_index{ctx.OpLoad(ctx.U32[1], ctx.subgroup_local_invocation_id)}; return ctx.OpVectorExtractDynamic(ctx.U32[1], value, local_index); } |