mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-29 00:33:06 +00:00
shader: detect full buffer fills from uniform stores
Co-authored-by: Techx3 <56268269+Techx3@users.noreply.github.com>
This commit is contained in:
1 parent
994271e2f6
commit
dea80f34ca
8 files changed
+422
-43
No files matched your search
@@ -16,12 +16,22 @@ struct DescriptorValue {
|
||||
}
|
||||
};
|
||||
|
||||
struct BufferFill {
|
||||
uint32_t buffer = 0;
|
||||
uint32_t group_stride = 0;
|
||||
uint32_t element_size = 0;
|
||||
uint32_t value = 0;
|
||||
|
||||
bool operator==(const BufferFill&) const = default;
|
||||
};
|
||||
|
||||
struct ResourceSnapshot {
|
||||
std::vector<DescriptorValue> buffers;
|
||||
std::vector<DescriptorValue> images;
|
||||
std::vector<DescriptorValue> samplers;
|
||||
std::vector<uint32_t> flattened_srt;
|
||||
std::vector<uint32_t> user_data;
|
||||
BufferFill buffer_fill;
|
||||
};
|
||||
|
||||
} // namespace Libs::Graphics::ShaderRecompiler::IR
|
||||
|
||||
Reference in new issue
Block a user