Browse Source

decode/shift: Remove unused variable within Shift()

Removes a redundant variable that is already satisfied by the IsFull()
utility function.
pull/15/merge
Lioncash 6 years ago
parent
commit
cd2a12e78f
  1. 1
      src/video_core/shader/decode/shift.cpp

1
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));
}

Loading…
Cancel
Save