graphics: unify buffer bindings and depth target handling

This commit is contained in:
nmzik committed 2026-07-27 10:12:41 +02:00
1 parent f43567e12c
commit 142b3c20fa
17 files changed
+669 -564

No files matched your search

@@ -705,9 +705,15 @@ struct BindingLayout {
uint32_t descriptor_set = 0;
uint32_t push_constant_offset = 0;
uint32_t push_constant_size = 0;
uint32_t buffer_offset_dword = 0;
uint32_t buffer_offset_count = 0;
std::vector<uint32_t> user_data_registers;
std::vector<DescriptorBinding> descriptors;
[[nodiscard]] uint32_t ShaderDataDwords() const {
return buffer_offset_dword + (buffer_offset_count + 3u) / 4u;
}
bool operator==(const BindingLayout& other) const = default;
};