textures: keep atlas data across compressed block views

This commit is contained in:
nmzik
2026-09-06 18:57:26 +04:00
parent ced73c56cc
commit 807a594c2d
3 changed files with 70 additions and 45 deletions
@@ -47,6 +47,7 @@ struct ImageSubresourceRange {
struct ImageMipInfo {
uint64_t offset = 0;
uint64_t size = 0;
// Padded dimensions in storage elements (compressed blocks for BC formats).
uint32_t pitch = 0;
uint32_t height = 0;
auto operator<=>(const ImageMipInfo&) const = default;