Module: Mesa Branch: main Commit: abe0cc8aa4bbfefc7b1d7d4c8ba8cb6ca9418fa3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=abe0cc8aa4bbfefc7b1d7d4c8ba8cb6ca9418fa3
Author: Iván Briano <ivan.bri...@intel.com> Date: Tue Sep 19 17:49:59 2023 -0700 anv: remove no longer valid assert Maintenance6 allows creating uncompressed views of compressed images with multiple layers. Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26842> --- src/intel/vulkan/anv_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 5272e91d30e..26874d9db0d 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -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,