diff options
| author | 2020-04-16 02:05:54 -0300 | |
|---|---|---|
| committer | 2020-04-16 02:05:54 -0300 | |
| commit | a5a2ee876640cf662db7f55cdf9abfe755fa285c (patch) | |
| tree | 6f0dce3d8875894107c404e16ef1fecbde4e79d6 | |
| parent | Merge pull request #3688 from lioncash/nequal (diff) | |
| parent | decode/shift: Remove unused variable within Shift() (diff) | |
| download | yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.tar.gz yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.tar.xz yuzu-a5a2ee876640cf662db7f55cdf9abfe755fa285c.zip | |
Merge pull request #3689 from lioncash/unused-var
decode/shift: Remove unused variable within Shift()
| -rw-r--r-- | src/video_core/shader/decode/shift.cpp | 1 |
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) { | |||
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | Node Shift(OperationCode opcode, Node value, Node shift) { | 25 | Node Shift(OperationCode opcode, Node value, Node shift) { |
| 26 | Node is_full = Operation(OperationCode::LogicalIEqual, shift, Immediate(32)); | ||
| 27 | Node shifted = Operation(opcode, move(value), shift); | 26 | Node shifted = Operation(opcode, move(value), shift); |
| 28 | return Operation(OperationCode::Select, IsFull(move(shift)), Immediate(0), move(shifted)); | 27 | return Operation(OperationCode::Select, IsFull(move(shift)), Immediate(0), move(shifted)); |
| 29 | } | 28 | } |