diff options
| author | 2022-01-03 17:56:30 -0800 | |
|---|---|---|
| committer | 2022-01-03 17:56:30 -0800 | |
| commit | c68a0d17fc30d9b91b8324b3899556e3ebfea8d5 (patch) | |
| tree | 3ec6f215ab86e6a9baf181efc9839eaa8bf56cf4 /src/shader_recompiler/environment.h | |
| parent | Merge pull request #7668 from ameerj/fence-stop-token (diff) | |
| parent | ShaderDecompiler: Add a debug option to dump the game's shaders. (diff) | |
| download | yuzu-c68a0d17fc30d9b91b8324b3899556e3ebfea8d5.tar.gz yuzu-c68a0d17fc30d9b91b8324b3899556e3ebfea8d5.tar.xz yuzu-c68a0d17fc30d9b91b8324b3899556e3ebfea8d5.zip | |
Merge pull request #7251 from FernandoS27/shader-dump
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 | } |