This one was missed in
41bffe09135.
Fixes: 41bffe09135 "anv: Replace aux_surface.isl.size_B checks with..."
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3593>
{
uint32_t depth_plane =
anv_image_aspect_to_plane(image->aspects, VK_IMAGE_ASPECT_DEPTH_BIT);
- if (image->planes[depth_plane].aux_surface.isl.size_B == 0)
+ if (image->planes[depth_plane].aux_usage == ISL_AUX_USAGE_NONE)
return;
const enum isl_aux_state initial_state =