diff options
| author | 2024-01-07 23:15:38 +0000 | |
|---|---|---|
| committer | 2024-01-07 23:15:38 +0000 | |
| commit | a959fb011f46e119904f1f84061d95df3115f434 (patch) | |
| tree | 03b7260a1deb7ee2f15d4813b6151296616f0cd9 | |
| parent | Fix typos in video_core (diff) | |
| download | yuzu-a959fb011f46e119904f1f84061d95df3115f434.tar.gz yuzu-a959fb011f46e119904f1f84061d95df3115f434.tar.xz yuzu-a959fb011f46e119904f1f84061d95df3115f434.zip | |
Fix "Propietary" typo elsewhere
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/environment.h | 6 | ||||
| -rw-r--r-- | src/shader_recompiler/ir_opt/constant_propagation_pass.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h index e30bf094a..5dbbc7e61 100644 --- a/src/shader_recompiler/environment.h +++ b/src/shader_recompiler/environment.h | |||
| @@ -59,8 +59,8 @@ public: | |||
| 59 | return start_address; | 59 | return start_address; |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | [[nodiscard]] bool IsPropietaryDriver() const noexcept { | 62 | [[nodiscard]] bool IsProprietaryDriver() const noexcept { |
| 63 | return is_propietary_driver; | 63 | return is_proprietary_driver; |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | protected: | 66 | protected: |
| @@ -68,7 +68,7 @@ protected: | |||
| 68 | std::array<u32, 8> gp_passthrough_mask{}; | 68 | std::array<u32, 8> gp_passthrough_mask{}; |
| 69 | Stage stage{}; | 69 | Stage stage{}; |
| 70 | u32 start_address{}; | 70 | u32 start_address{}; |
| 71 | bool is_propietary_driver{}; | 71 | bool is_proprietary_driver{}; |
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| 74 | } // namespace Shader | 74 | } // namespace Shader |
diff --git a/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp b/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp index e4a73a360..12d7b2d7f 100644 --- a/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp +++ b/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp | |||
| @@ -1084,7 +1084,7 @@ void ConstantPropagation(Environment& env, IR::Block& block, IR::Inst& inst) { | |||
| 1084 | if (env.HasHLEMacroState()) { | 1084 | if (env.HasHLEMacroState()) { |
| 1085 | FoldConstBuffer(env, block, inst); | 1085 | FoldConstBuffer(env, block, inst); |
| 1086 | } | 1086 | } |
| 1087 | if (env.IsPropietaryDriver()) { | 1087 | if (env.IsProprietaryDriver()) { |
| 1088 | FoldDriverConstBuffer(env, block, inst, 1); | 1088 | FoldDriverConstBuffer(env, block, inst, 1); |
| 1089 | } | 1089 | } |
| 1090 | break; | 1090 | break; |