From 43a6f8b9f8ca09328ec27956ebcd4140a0defba9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 2 Jun 2023 08:44:23 -0400 Subject: [PATCH] zink: remove assert for dt in zink_kopper_update this is a valid (harmless) path that can be hit by in some cases cc: mesa-stable Part-of: --- src/gallium/drivers/zink/zink_kopper.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_kopper.c b/src/gallium/drivers/zink/zink_kopper.c index 2a3416ba24d..972420519cb 100644 --- a/src/gallium/drivers/zink/zink_kopper.c +++ b/src/gallium/drivers/zink/zink_kopper.c @@ -892,7 +892,6 @@ zink_kopper_update(struct pipe_screen *pscreen, struct pipe_resource *pres, int { struct zink_resource *res = zink_resource(pres); struct zink_screen *screen = zink_screen(pscreen); - assert(pres->bind & PIPE_BIND_DISPLAY_TARGET); if (!res->obj->dt) return false; struct kopper_displaytarget *cdt = res->obj->dt;