shader: detect full buffer fills from uniform stores

Co-authored-by: Techx3 <56268269+Techx3@users.noreply.github.com>
This commit is contained in:
nmzikandTechx3 committed 2026-09-05 10:34:30 +04:00
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