zink: call invalidate on invalid descriptor sets during recycle
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10699>
This commit is contained in:
@@ -578,6 +578,7 @@ zink_descriptor_set_recycle(struct zink_descriptor_set *zds)
|
||||
}
|
||||
|
||||
if (zds->invalid) {
|
||||
descriptor_set_invalidate(zds);
|
||||
util_dynarray_append(&pool->alloc_desc_sets, struct zink_descriptor_set *, zds);
|
||||
} else {
|
||||
zds->recycled = true;
|
||||
|
Reference in New Issue
Block a user