Commit 06657e1d authored by Jason Ekstrand's avatar Jason Ekstrand Committed by Marge Bot
Browse files

anv: Replace one more aux_surface.isl.size_B check

This one was missed in 41bffe09.

Fixes: 41bffe09

 "anv: Replace aux_surface.isl.size_B checks with..."
Reviewed-by: Lionel Landwerlin's avatarLionel Landwerlin <>
Part-of: <mesa/mesa!3593>
parent f229579c
......@@ -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)
const enum isl_aux_state initial_state =
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment