aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/environment.h
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-08-03 12:18:35 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-08-03 15:30:27 +0100
commitdfb7fc8293a528d6c8cc2abef7fac5a6a7bf2883 (patch)
treefaf1c9bce2d7159b0f9b7bb3cdd08be7f47f7847 /src/shader_recompiler/environment.h
parent096644c01cb8cd30589d5f168fdabaac5aad174a (diff)
Fix shader dumps with nvdisasm
skip fragment shaders when rasterizer is disabled initialize env_ptrs
Diffstat (limited to 'src/shader_recompiler/environment.h')
-rw-r--r--src/shader_recompiler/environment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h
index 26e8307c12..15285ab0ac 100644
--- a/src/shader_recompiler/environment.h
+++ b/src/shader_recompiler/environment.h
@@ -39,7 +39,7 @@ public:
[[nodiscard]] virtual std::optional<ReplaceConstant> GetReplaceConstBuffer(u32 bank,
u32 offset) = 0;
- virtual void Dump(u64 hash) = 0;
+ virtual void Dump(u64 pipeline_hash, u64 shader_hash) = 0;
[[nodiscard]] const ProgramHeader& SPH() const noexcept {
return sph;