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 | 65387dd0a02ccc19b6468692e8cd67432f9fc893 (patch) | |
| tree | 1ef8367f64cbee6220c4e5600249697e5cd8e826 /src/shader_recompiler/environment.h | |
| parent | dd9be795bfb0ad0f2bb4757ff461578439cc7b9f (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; } |
