mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
anv: rename aux_tt image field
We'll add more to the sub-struct Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27304>
This commit is contained in:
parent
fdc2f0a52e
commit
eead86ad8e
2 changed files with 6 additions and 3 deletions
|
|
@ -1767,7 +1767,7 @@ anv_image_finish(struct anv_image *image)
|
|||
* mapping.
|
||||
*/
|
||||
for (int p = 0; p < image->n_planes; ++p) {
|
||||
if (!image->planes[p].aux_ccs_mapped)
|
||||
if (!image->planes[p].aux_tt.mapped)
|
||||
continue;
|
||||
|
||||
const struct anv_address main_addr =
|
||||
|
|
@ -2271,7 +2271,7 @@ anv_image_map_aux_tt(struct anv_device *device,
|
|||
anv_address_physical(main_addr),
|
||||
anv_address_physical(aux_addr),
|
||||
surf->size_B, format_bits)) {
|
||||
image->planes[plane].aux_ccs_mapped = true;
|
||||
image->planes[plane].aux_tt.mapped = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4832,7 +4832,10 @@ struct anv_image {
|
|||
*/
|
||||
bool can_non_zero_fast_clear;
|
||||
|
||||
bool aux_ccs_mapped;
|
||||
struct {
|
||||
/** Whether the image has CCS data mapped through AUX-TT. */
|
||||
bool mapped;
|
||||
} aux_tt;
|
||||
} planes[3];
|
||||
|
||||
struct anv_image_memory_range vid_dmv_top_surface;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue