diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-17 04:19:29 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-01-04 02:39:00 +0100 |
commit | f58ee3f15f7427a8b834286384931bcf821ed771 (patch) | |
tree | 1ef8367f64cbee6220c4e5600249697e5cd8e826 /src/shader_recompiler/environment.h | |
parent | da8e0f6571095e50aa58ec5c4e3a1bd60f90c581 (diff) |
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 b4df73e8af..db16429d46 100644 --- a/src/shader_recompiler/environment.h +++ b/src/shader_recompiler/environment.h @@ -31,6 +31,8 @@ public: [[nodiscard]] virtual std::array<u32, 3> WorkgroupSize() const = 0; + virtual void Dump(u64 hash) = 0; + [[nodiscard]] const ProgramHeader& SPH() const noexcept { return sph; } |