diff options
Diffstat (limited to 'src/video_core/shader_environment.h')
| -rw-r--r-- | src/video_core/shader_environment.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader_environment.h b/src/video_core/shader_environment.h index a0f61cbda..b90f3d44e 100644 --- a/src/video_core/shader_environment.h +++ b/src/video_core/shader_environment.h | |||
| @@ -58,7 +58,7 @@ public: | |||
| 58 | 58 | ||
| 59 | [[nodiscard]] u64 CalculateHash() const; | 59 | [[nodiscard]] u64 CalculateHash() const; |
| 60 | 60 | ||
| 61 | void Dump(u64 hash) override; | 61 | void Dump(u64 pipeline_hash, u64 shader_hash) override; |
| 62 | 62 | ||
| 63 | void Serialize(std::ofstream& file) const; | 63 | void Serialize(std::ofstream& file) const; |
| 64 | 64 | ||
| @@ -188,10 +188,10 @@ public: | |||
| 188 | return cbuf_replacements.size() != 0; | 188 | return cbuf_replacements.size() != 0; |
| 189 | } | 189 | } |
| 190 | 190 | ||
| 191 | void Dump(u64 hash) override; | 191 | void Dump(u64 pipeline_hash, u64 shader_hash) override; |
| 192 | 192 | ||
| 193 | private: | 193 | private: |
| 194 | std::unique_ptr<u64[]> code; | 194 | std::vector<u64> code; |
| 195 | std::unordered_map<u32, Shader::TextureType> texture_types; | 195 | std::unordered_map<u32, Shader::TextureType> texture_types; |
| 196 | std::unordered_map<u32, Shader::TexturePixelFormat> texture_pixel_formats; | 196 | std::unordered_map<u32, Shader::TexturePixelFormat> texture_pixel_formats; |
| 197 | std::unordered_map<u64, u32> cbuf_values; | 197 | std::unordered_map<u64, u32> cbuf_values; |