zink: stop invalidating descriptor sets on pool destroy

this was debug code I was using for testing pool validity, but it
stopped being useful and just crashes sometimes now

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10699>
This commit is contained in:
Mike Blumenkrantz 2021-05-11 22:38:20 -04:00
parent 47eabd0e6b
commit a8e80b3344
1 changed files with 0 additions and 4 deletions

View File

@ -98,10 +98,6 @@ descriptor_set_invalidate(struct zink_descriptor_set *zds)
static void
descriptor_pool_clear(struct hash_table *ht)
{
hash_table_foreach(ht, entry) {
struct zink_descriptor_set *zds = entry->data;
descriptor_set_invalidate(zds);
}
_mesa_hash_table_clear(ht, NULL);
}
#endif