mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23511>
(cherry picked from commit 43a6f8b9f8)
This commit is contained in:
parent
9ccac714a8
commit
67ff45c08e
2 changed files with 1 additions and 2 deletions
|
|
@ -3361,7 +3361,7 @@
|
|||
"description": "zink: remove assert for dt in zink_kopper_update",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -878,7 +878,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue