Browse Source

Fix "Propietary" typo elsewhere

pull/15/merge
Viktor Szépe 2 years ago
parent
commit
a959fb011f
  1. 6
      src/shader_recompiler/environment.h
  2. 2
      src/shader_recompiler/ir_opt/constant_propagation_pass.cpp

6
src/shader_recompiler/environment.h

@ -59,8 +59,8 @@ public:
return start_address; return start_address;
} }
[[nodiscard]] bool IsPropietaryDriver() const noexcept {
return is_propietary_driver;
[[nodiscard]] bool IsProprietaryDriver() const noexcept {
return is_proprietary_driver;
} }
protected: protected:
@ -68,7 +68,7 @@ protected:
std::array<u32, 8> gp_passthrough_mask{}; std::array<u32, 8> gp_passthrough_mask{};
Stage stage{}; Stage stage{};
u32 start_address{}; u32 start_address{};
bool is_propietary_driver{};
bool is_proprietary_driver{};
}; };
} // namespace Shader } // namespace Shader

2
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()) { if (env.HasHLEMacroState()) {
FoldConstBuffer(env, block, inst); FoldConstBuffer(env, block, inst);
} }
if (env.IsPropietaryDriver()) {
if (env.IsProprietaryDriver()) {
FoldDriverConstBuffer(env, block, inst, 1); FoldDriverConstBuffer(env, block, inst, 1);
} }
break; break;

Loading…
Cancel
Save