From cd2a12e78f0f728f713de3a3994159e3077982a4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 16 Apr 2020 00:16:04 -0400 Subject: decode/shift: Remove unused variable within Shift() Removes a redundant variable that is already satisfied by the IsFull() utility function. --- src/video_core/shader/decode/shift.cpp | 1 - 1 file changed, 1 deletion(-) 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)); } -- cgit v1.2.3