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:
parent
47eabd0e6b
commit
a8e80b3344
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue