anv/blorp: Handle ISL_AUX_USAGE_HIZ
Prevent assert failures that would occur in the next patch. v2: Don't remove asserts from blorp/blit (Jason Ekstrand) Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -172,7 +172,8 @@ get_blorp_surf_for_anv_image(const struct anv_image *image,
|
||||
enum isl_aux_usage aux_usage,
|
||||
struct blorp_surf *blorp_surf)
|
||||
{
|
||||
if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT)
|
||||
if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT ||
|
||||
aux_usage == ISL_AUX_USAGE_HIZ)
|
||||
aux_usage = ISL_AUX_USAGE_NONE;
|
||||
|
||||
const struct anv_surface *surface =
|
||||
|
Reference in New Issue
Block a user