diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 5d85bbbf4dd..97062a067cc 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -557,7 +557,9 @@ add_aux_surface_if_supported(struct anv_device *device, ok = isl_surf_get_hiz_surf(&device->isl_dev, &image->planes[plane].primary_surface.isl, &image->planes[plane].aux_surface.isl); - assert(ok); + if (!ok) + return VK_SUCCESS; + if (!isl_surf_supports_ccs(&device->isl_dev, &image->planes[plane].primary_surface.isl, &image->planes[plane].aux_surface.isl)) {