summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-04-16 07:05:54 +0200
committerGitHub <noreply@github.com>2020-04-16 07:05:54 +0200
commita5a2ee876640cf662db7f55cdf9abfe755fa285c (patch)
tree6f0dce3d8875894107c404e16ef1fecbde4e79d6
parentMerge pull request #3688 from lioncash/nequal (diff)
parentdecode/shift: Remove unused variable within Shift() (diff)
downloadyuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.tar
yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.tar.gz
yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.tar.bz2
yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.tar.lz
yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.tar.xz
yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.tar.zst
yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.zip
-rw-r--r--src/video_core/shader/decode/shift.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/shift.cpp b/src/video_core/shader/decode/shift.cpp
index 3b391d3e6..d4ffa8014 100644
--- a/src/video_core/shader/decode/shift.cpp
+++ b/src/video_core/shader/decode/shift.cpp
@@ -23,7 +23,6 @@ Node IsFull(Node shift) {
}
Node Shift(OperationCode opcode, Node value, Node shift) {
- Node is_full = Operation(OperationCode::LogicalIEqual, shift, Immediate(32));
Node shifted = Operation(opcode, move(value), shift);
return Operation(OperationCode::Select, IsFull(move(shift)), Immediate(0), move(shifted));
}