diff options
| author | 2021-04-05 22:25:22 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:26 -0400 | |
| commit | 0bb85f6a753c769266c95c4ba146b25b9eaaaffd (patch) | |
| tree | e5d818ae7dc1d0025bb115c7a63235d866e53286 /src/shader_recompiler/frontend/ir/condition.h | |
| parent | shader: Fix FCMP immediate variant (diff) | |
| download | yuzu-0bb85f6a753c769266c95c4ba146b25b9eaaaffd.tar.gz yuzu-0bb85f6a753c769266c95c4ba146b25b9eaaaffd.tar.xz yuzu-0bb85f6a753c769266c95c4ba146b25b9eaaaffd.zip | |
shader_recompiler,video_core: Cleanup some GCC and Clang errors
Mostly fixing unused *, implicit conversion, braced scalar init,
fpermissive, and some others.
Some Clang errors likely remain in video_core, and std::ranges is still
a pertinent issue in shader_recompiler
shader_recompiler: cmake: Force bracket depth to 1024 on Clang
Increases the maximum fold expression depth
thread_worker: Include condition_variable
Don't use list initializers in control flow
Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc>
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/condition.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/condition.h b/src/shader_recompiler/frontend/ir/condition.h index 51c2f15cf..aa8597c60 100644 --- a/src/shader_recompiler/frontend/ir/condition.h +++ b/src/shader_recompiler/frontend/ir/condition.h | |||
| @@ -30,11 +30,11 @@ public: | |||
| 30 | 30 | ||
| 31 | auto operator<=>(const Condition&) const noexcept = default; | 31 | auto operator<=>(const Condition&) const noexcept = default; |
| 32 | 32 | ||
| 33 | [[nodiscard]] IR::FlowTest FlowTest() const noexcept { | 33 | [[nodiscard]] IR::FlowTest GetFlowTest() const noexcept { |
| 34 | return static_cast<IR::FlowTest>(flow_test); | 34 | return static_cast<IR::FlowTest>(flow_test); |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | [[nodiscard]] std::pair<IR::Pred, bool> Pred() const noexcept { | 37 | [[nodiscard]] std::pair<IR::Pred, bool> GetPred() const noexcept { |
| 38 | return {static_cast<IR::Pred>(pred), pred_negated != 0}; | 38 | return {static_cast<IR::Pred>(pred), pred_negated != 0}; |
| 39 | } | 39 | } |
| 40 | 40 | ||