diff --git a/src/virtio/vulkan/vn_descriptor_set.c b/src/virtio/vulkan/vn_descriptor_set.c index 08d7d3bd2d2..06a2a0e4e40 100644 --- a/src/virtio/vulkan/vn_descriptor_set.c +++ b/src/virtio/vulkan/vn_descriptor_set.c @@ -593,6 +593,9 @@ vn_descriptor_pool_reset_descriptors(struct vn_descriptor_pool *pool) return; memset(&pool->used, 0, sizeof(pool->used)); + + for (uint32_t i = 0; i < pool->mutable_states_count; i++) + pool->mutable_states[i].used = 0; } VkResult