anv: Replace one more aux_surface.isl.size_B check
This one was missed in41bffe0913. Fixes:41bffe0913"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>
This commit is contained in:
committed by
Marge Bot
parent
f229579c0a
commit
06657e1dda
@@ -522,7 +522,7 @@ transition_depth_buffer(struct anv_cmd_buffer *cmd_buffer,
|
||||
{
|
||||
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 =
|
||||
|
||||
Reference in New Issue
Block a user