diff options
author | Viktor Szépe <viktor@szepe.net> | 2024-01-08 00:15:38 +0100 |
---|---|---|
committer | Viktor Szépe <viktor@szepe.net> | 2024-01-08 00:15:38 +0100 |
commit | a959fb011f46e119904f1f84061d95df3115f434 (patch) | |
tree | 03b7260a1deb7ee2f15d4813b6151296616f0cd9 /src/shader_recompiler | |
parent | Fix typos in video_core (diff) | |
download | yuzu-a959fb011f46e119904f1f84061d95df3115f434.tar yuzu-a959fb011f46e119904f1f84061d95df3115f434.tar.gz yuzu-a959fb011f46e119904f1f84061d95df3115f434.tar.bz2 yuzu-a959fb011f46e119904f1f84061d95df3115f434.tar.lz yuzu-a959fb011f46e119904f1f84061d95df3115f434.tar.xz yuzu-a959fb011f46e119904f1f84061d95df3115f434.tar.zst yuzu-a959fb011f46e119904f1f84061d95df3115f434.zip |
Diffstat (limited to 'src/shader_recompiler')
-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: return start_address; } - [[nodiscard]] bool IsPropietaryDriver() const noexcept { - return is_propietary_driver; + [[nodiscard]] bool IsProprietaryDriver() const noexcept { + return is_proprietary_driver; } protected: @@ -68,7 +68,7 @@ protected: std::array<u32, 8> gp_passthrough_mask{}; Stage stage{}; u32 start_address{}; - bool is_propietary_driver{}; + bool is_proprietary_driver{}; }; } // 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) { if (env.HasHLEMacroState()) { FoldConstBuffer(env, block, inst); } - if (env.IsPropietaryDriver()) { + if (env.IsProprietaryDriver()) { FoldDriverConstBuffer(env, block, inst, 1); } break; |