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 090bc1c08..8369d0d84 100644
--- a/src/shader_recompiler/environment.h
+++ b/src/shader_recompiler/environment.h
@@ -31,6 +31,10 @@ public:
31 return sph; 31 return sph;
32 } 32 }
33 33
34 [[nodiscard]] const std::array<u32, 8>& GpPassthroughMask() const noexcept {
35 return gp_passthrough_mask;
36 }
37
34 [[nodiscard]] Stage ShaderStage() const noexcept { 38 [[nodiscard]] Stage ShaderStage() const noexcept {
35 return stage; 39 return stage;
36 } 40 }
@@ -41,6 +45,7 @@ public:
41 45
42protected: 46protected:
43 ProgramHeader sph{}; 47 ProgramHeader sph{};
48 std::array<u32, 8> gp_passthrough_mask{};
44 Stage stage{}; 49 Stage stage{};
45 u32 start_address{}; 50 u32 start_address{};
46}; 51};