From f58ee3f15f7427a8b834286384931bcf821ed771 Mon Sep 17 00:00:00 2001 From: Fernando Sahmkow Date: Wed, 17 Nov 2021 04:19:29 +0100 Subject: ShaderDecompiler: Add a debug option to dump the game's shaders. --- src/shader_recompiler/environment.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shader_recompiler/environment.h') 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: [[nodiscard]] virtual std::array WorkgroupSize() const = 0; + virtual void Dump(u64 hash) = 0; + [[nodiscard]] const ProgramHeader& SPH() const noexcept { return sph; } -- cgit v1.2.3