aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/environment.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-12-27 21:39:46 -0500
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-01-03 16:29:25 -0500
commita045e860dd63a46c1f44d343007d772e6da6b037 (patch)
tree7c910d74f74aa48858a1d4012d543946516cc554 /src/shader_recompiler/environment.h
parentb62ffb612dbd672371d163e3b511e81f0c2282e6 (diff)
ShaderCompiler: Inline driver specific constants.
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 8fc3591260..26e8307c12 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