diff --git a/.pick_status.json b/.pick_status.json index c0e448b8a2f..6b332584e1e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -724,7 +724,7 @@ "description": "zink: explicitly null pipe_resource::next when creating transients", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/drivers/zink/zink_surface.c b/src/gallium/drivers/zink/zink_surface.c index f2d205c961c..e18125d1685 100644 --- a/src/gallium/drivers/zink/zink_surface.c +++ b/src/gallium/drivers/zink/zink_surface.c @@ -294,6 +294,7 @@ zink_create_transient_surface(struct zink_context *ctx, const struct pipe_surfac if (!res->transient || res->transient->base.b.nr_samples != nr_samples) { /* transient fb attachment: not cached */ struct pipe_resource rtempl = *psurf->texture; + rtempl.next = NULL; rtempl.nr_samples = nr_samples; rtempl.bind &= ~(PIPE_BIND_LINEAR | ZINK_BIND_DMABUF); rtempl.bind |= ZINK_BIND_TRANSIENT;