diff options
| author | 2021-04-10 02:32:55 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:26 -0400 | |
| commit | 5bfcafa0a21619e8cd82c38ec51e260838f42042 (patch) | |
| tree | 05b34d95d2a32ef58ae76519610b002baa9f7adc /src/shader_recompiler/frontend/maxwell/control_flow.cpp | |
| parent | shader_recompiler,video_core: Cleanup some GCC and Clang errors (diff) | |
| download | yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.gz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.xz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.zip | |
shader: Address feedback + clang format
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/control_flow.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/control_flow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/control_flow.cpp b/src/shader_recompiler/frontend/maxwell/control_flow.cpp index cb8ec7eaa..9811183f1 100644 --- a/src/shader_recompiler/frontend/maxwell/control_flow.cpp +++ b/src/shader_recompiler/frontend/maxwell/control_flow.cpp | |||
| @@ -44,7 +44,7 @@ void Split(Block* old_block, Block* new_block, Location pc) { | |||
| 44 | *new_block = Block{}; | 44 | *new_block = Block{}; |
| 45 | new_block->begin = pc; | 45 | new_block->begin = pc; |
| 46 | new_block->end = old_block->end; | 46 | new_block->end = old_block->end; |
| 47 | new_block->end_class = old_block->end_class, | 47 | new_block->end_class = old_block->end_class; |
| 48 | new_block->cond = old_block->cond; | 48 | new_block->cond = old_block->cond; |
| 49 | new_block->stack = old_block->stack; | 49 | new_block->stack = old_block->stack; |
| 50 | new_block->branch_true = old_block->branch_true; | 50 | new_block->branch_true = old_block->branch_true; |
| @@ -428,7 +428,7 @@ CFG::AnalysisState CFG::AnalyzeBRX(Block* block, Location pc, Instruction inst, | |||
| 428 | if (!is_absolute) { | 428 | if (!is_absolute) { |
| 429 | target += pc.Offset(); | 429 | target += pc.Offset(); |
| 430 | } | 430 | } |
| 431 | target += static_cast<unsigned int>(brx_table->branch_offset); | 431 | target += static_cast<u32>(brx_table->branch_offset); |
| 432 | target += 8; | 432 | target += 8; |
| 433 | targets.push_back(target); | 433 | targets.push_back(target); |
| 434 | } | 434 | } |