Browse Source
Merge pull request #3689 from lioncash/unused-var
decode/shift: Remove unused variable within Shift()
pull/15/merge
Rodrigo Locatti
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
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)); |
|
|
|
} |
|
|
|
|