anv/image: Don't assert that HiZ can be added
HiZ isn't yet enabled for Tile4/64. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12132>
This commit is contained in:
parent
0022a11ff4
commit
565f9105b7
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue