summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/environment.h')
-rw-r--r--src/shader_recompiler/environment.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h
index 8fc359126..26e8307c1 100644
--- a/src/shader_recompiler/environment.h
+++ b/src/shader_recompiler/environment.h
@@ -57,11 +57,16 @@ public:
57 return start_address; 57 return start_address;
58 } 58 }
59 59
60 [[nodiscard]] bool IsPropietaryDriver() const noexcept {
61 return is_propietary_driver;
62 }
63
60protected: 64protected:
61 ProgramHeader sph{}; 65 ProgramHeader sph{};
62 std::array<u32, 8> gp_passthrough_mask{}; 66 std::array<u32, 8> gp_passthrough_mask{};
63 Stage stage{}; 67 Stage stage{};
64 u32 start_address{}; 68 u32 start_address{};
69 bool is_propietary_driver{};
65}; 70};
66 71
67} // namespace Shader 72} // namespace Shader