diff options
| author | 2021-11-17 04:19:29 +0100 | |
|---|---|---|
| committer | 2022-01-04 02:39:00 +0100 | |
| commit | f58ee3f15f7427a8b834286384931bcf821ed771 (patch) | |
| tree | 1ef8367f64cbee6220c4e5600249697e5cd8e826 /src/shader_recompiler/environment.h | |
| parent | Merge pull request #7648 from bunnei/thread-pinning (diff) | |
| download | yuzu-f58ee3f15f7427a8b834286384931bcf821ed771.tar.gz yuzu-f58ee3f15f7427a8b834286384931bcf821ed771.tar.xz yuzu-f58ee3f15f7427a8b834286384931bcf821ed771.zip | |
ShaderDecompiler: Add a debug option to dump the game's shaders.
Diffstat (limited to 'src/shader_recompiler/environment.h')
| -rw-r--r-- | src/shader_recompiler/environment.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h index b4df73e8a..db16429d4 100644 --- a/src/shader_recompiler/environment.h +++ b/src/shader_recompiler/environment.h | |||
| @@ -31,6 +31,8 @@ public: | |||
| 31 | 31 | ||
| 32 | [[nodiscard]] virtual std::array<u32, 3> WorkgroupSize() const = 0; | 32 | [[nodiscard]] virtual std::array<u32, 3> WorkgroupSize() const = 0; |
| 33 | 33 | ||
| 34 | virtual void Dump(u64 hash) = 0; | ||
| 35 | |||
| 34 | [[nodiscard]] const ProgramHeader& SPH() const noexcept { | 36 | [[nodiscard]] const ProgramHeader& SPH() const noexcept { |
| 35 | return sph; | 37 | return sph; |
| 36 | } | 38 | } |