crocus: Delete modifier with aux code

Modifiers with compression are not supported.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24120>
This commit is contained in:
Nanley Chery
2023-07-06 16:19:33 -04:00
committed by Marge Bot
parent 5568970d63
commit 2d7fc325d6
5 changed files with 59 additions and 168 deletions

View File

@@ -702,16 +702,12 @@ crocus_clear_texture(struct pipe_context *ctx,
struct crocus_context *ice = (void *) ctx;
struct crocus_screen *screen = (void *) ctx->screen;
const struct intel_device_info *devinfo = &screen->devinfo;
struct crocus_resource *res = (void *) p_res;
if (devinfo->ver < 6) {
u_default_clear_texture(ctx, p_res, level, box, data);
return;
}
if (crocus_resource_unfinished_aux_import(res))
crocus_resource_finish_aux_import(ctx->screen, res);
if (util_format_is_depth_or_stencil(p_res->format)) {
const struct util_format_unpack_description *fmt_unpack =
util_format_unpack_description(p_res->format);