Skip to content

anv: make sure hiz is not used with depth buffers when msaa in use

Tapani Pälli requested to merge tpalli/mesa:anv-disable-aux-on-msaa into master

Since commit 54b525ca we have set aux based on flags set when creating the original image. However anv_layout_to_aux_state is also used during image layout transition which might change access pattern when using as example VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT. This provides immediate fix to problem where we should disable aux when msaa in use.

Closes: #4037 (closed) Signed-off-by: Tapani Pälli tapani.palli@intel.com

Merge request reports