diff options
| author | 2023-08-03 12:18:35 +0100 | |
|---|---|---|
| committer | 2023-08-03 15:30:27 +0100 | |
| commit | dfb7fc8293a528d6c8cc2abef7fac5a6a7bf2883 (patch) | |
| tree | faf1c9bce2d7159b0f9b7bb3cdd08be7f47f7847 /src/shader_recompiler | |
| parent | Merge pull request #11202 from abouvier/vulkan-config (diff) | |
| download | yuzu-dfb7fc8293a528d6c8cc2abef7fac5a6a7bf2883.tar.gz yuzu-dfb7fc8293a528d6c8cc2abef7fac5a6a7bf2883.tar.xz yuzu-dfb7fc8293a528d6c8cc2abef7fac5a6a7bf2883.zip | |
Fix shader dumps with nvdisasm
skip fragment shaders when rasterizer is disabled
initialize env_ptrs
Diffstat (limited to 'src/shader_recompiler')
| -rw-r--r-- | src/shader_recompiler/environment.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h index 26e8307c1..15285ab0a 100644 --- a/src/shader_recompiler/environment.h +++ b/src/shader_recompiler/environment.h | |||
| @@ -39,7 +39,7 @@ public: | |||
| 39 | [[nodiscard]] virtual std::optional<ReplaceConstant> GetReplaceConstBuffer(u32 bank, | 39 | [[nodiscard]] virtual std::optional<ReplaceConstant> GetReplaceConstBuffer(u32 bank, |
| 40 | u32 offset) = 0; | 40 | u32 offset) = 0; |
| 41 | 41 | ||
| 42 | virtual void Dump(u64 hash) = 0; | 42 | virtual void Dump(u64 pipeline_hash, u64 shader_hash) = 0; |
| 43 | 43 | ||
| 44 | [[nodiscard]] const ProgramHeader& SPH() const noexcept { | 44 | [[nodiscard]] const ProgramHeader& SPH() const noexcept { |
| 45 | return sph; | 45 | return sph; |