summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/environment.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-12-28 03:39:46 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-01-03 22:29:25 +0100
commita045e860dd63a46c1f44d343007d772e6da6b037 (patch)
tree7c910d74f74aa48858a1d4012d543946516cc554 /src/shader_recompiler/environment.h
parentVulkan: rework stencil tracking. (diff)
downloadyuzu-a045e860dd63a46c1f44d343007d772e6da6b037.tar
yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.tar.gz
yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.tar.bz2
yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.tar.lz
yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.tar.xz
yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.tar.zst
yuzu-a045e860dd63a46c1f44d343007d772e6da6b037.zip
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 8fc359126..26e8307c1 100644
--- a/src/shader_recompiler/environment.h
+++ b/src/shader_recompiler/environment.h
@@ -57,11 +57,16 @@ public:
return start_address;
}
+ [[nodiscard]] bool IsPropietaryDriver() const noexcept {
+ return is_propietary_driver;
+ }
+
protected:
ProgramHeader sph{};
std::array<u32, 8> gp_passthrough_mask{};
Stage stage{};
u32 start_address{};
+ bool is_propietary_driver{};
};
} // namespace Shader