diff options
| author | Chad Versace <chad@kiwitree.net> | 2020-12-14 20:13:30 -0800 |
|---|---|---|
| committer | chadversary <chad@kiwitree.net> | 2021-03-09 18:42:20 +0000 |
| commit | d978383966d448fae2f3d746e40611b67605ead9 (patch) | |
| tree | e5d0c954bc68acd016230c4a45cac3208930f312 /src/util/bitset.h | |
| parent | 4dfabac493614e98ca9b388cd4eea844e30b4bd0 (diff) | |
anv/image: Make memory layout more explicit
Future patches for VK_EXT_image_drm_format_modifier will, in some cases,
place the aux surface and fast clear state into a driver-private bo.
This increases the complexity of image memory layout to such a degree
that, to maintain sanity, we must improve how we track the layout.
Define new types:
- anv_image_memory_range
- anv_image_memory_binding
- anv_image_binding
Delete many fields in anv_image (and its children), and replace them
with the new types.
This patch does not change how anv_image tracks (or, rather, does not
track) the memory of gen12 implicit ccs. We should probably do that, but
that's left as a future exercise.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8097>
Diffstat (limited to 'src/util/bitset.h')
0 files changed, 0 insertions, 0 deletions