ShaderDecompiler: Add a debug option to dump the game's shaders.

This commit is contained in:
Fernando Sahmkow
2021-11-17 04:19:29 +01:00
parent da8e0f6571
commit f58ee3f15f
8 changed files with 98 additions and 1 deletions

View File

@ -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;
}