aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader_environment.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-08-05 12:58:39 -0400
committerGitHub <noreply@github.com>2023-08-05 12:58:39 -0400
commit4533769f7f99abb8595fd0a78e714edbf9af2e57 (patch)
tree18c7814ec81d70be275c2a79200bc909c793a097 /src/video_core/shader_environment.h
parent00d9a9c44e201058a93c4fa11582c8a7119bdb40 (diff)
parentdfb7fc8293a528d6c8cc2abef7fac5a6a7bf2883 (diff)
Merge pull request #11212 from Kelebek1/shader_stuff
Fix various misc pipeline/shader things
Diffstat (limited to 'src/video_core/shader_environment.h')
-rw-r--r--src/video_core/shader_environment.h6
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:
[[nodiscard]] u64 CalculateHash() const;
- void Dump(u64 hash) override;
+ void Dump(u64 pipeline_hash, u64 shader_hash) override;
void Serialize(std::ofstream& file) const;
@@ -188,10 +188,10 @@ public:
return cbuf_replacements.size() != 0;
}
- void Dump(u64 hash) override;
+ void Dump(u64 pipeline_hash, u64 shader_hash) override;
private:
- std::unique_ptr<u64[]> code;
+ std::vector<u64> code;
std::unordered_map<u32, Shader::TextureType> texture_types;
std::unordered_map<u32, Shader::TexturePixelFormat> texture_pixel_formats;
std::unordered_map<u64, u32> cbuf_values;