summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/environment.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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:
return sph;
}
+ [[nodiscard]] const std::array<u32, 8>& GpPassthroughMask() const noexcept {
+ return gp_passthrough_mask;
+ }
+
[[nodiscard]] Stage ShaderStage() const noexcept {
return stage;
}
@@ -41,6 +45,7 @@ public:
protected:
ProgramHeader sph{};
+ std::array<u32, 8> gp_passthrough_mask{};
Stage stage{};
u32 start_address{};
};