anv: remove no longer valid assert
Maintenance6 allows creating uncompressed views of compressed images with multiple layers. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26842>
This commit is contained in:
@@ -3154,7 +3154,6 @@ anv_image_fill_surface_state(struct anv_device *device,
|
||||
*/
|
||||
assert(surface->isl.samples == 1);
|
||||
assert(view.levels == 1);
|
||||
assert(surface->isl.dim == ISL_SURF_DIM_3D || view.array_len == 1);
|
||||
|
||||
ASSERTED bool ok =
|
||||
isl_surf_get_uncompressed_surf(&device->isl_dev, isl_surf, &view,
|
||||
|
||||
Reference in New Issue
Block a user