summaryrefslogtreecommitdiff
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorGravatar liamwhite2024-01-07 20:42:54 -0500
committerGravatar GitHub2024-01-07 20:42:54 -0500
commit82b58668edcb078896a1184d158a08c58f841dd5 (patch)
tree5c64e962b792e29fa153843de15265c998d24b89 /src/shader_recompiler
parentMerge pull request #12606 from german77/npad_close (diff)
parentFix "Propietary" typo elsewhere (diff)
downloadyuzu-82b58668edcb078896a1184d158a08c58f841dd5.tar.gz
yuzu-82b58668edcb078896a1184d158a08c58f841dd5.tar.xz
yuzu-82b58668edcb078896a1184d158a08c58f841dd5.zip
Merge pull request #12608 from szepeviktor/typos
Fix typos in video_core
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/environment.h6
-rw-r--r--src/shader_recompiler/ir_opt/constant_propagation_pass.cpp2
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
66protected: 66protected:
@@ -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;