summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-04-16 00:16:04 -0400
committerLioncash <mathew1800@gmail.com>2020-04-16 00:16:06 -0400
commitcd2a12e78f0f728f713de3a3994159e3077982a4 (patch)
treec3eaed10111a80bdaa4b7bf0c1a4801ea7036347 /src
parente33196d4e7687dd29636decd4b52e01b10fe8984 (diff)
decode/shift: Remove unused variable within Shift()
Removes a redundant variable that is already satisfied by the IsFull() utility function.
Diffstat (limited to 'src')
-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));
}