mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 02:51:10 +00:00
Zink's rebind_image() and zink_rebind_all_images() refreshed only a sampler view's main image view after the resource got a new backing object. The view's zs_view and cube_array surfaces stayed on the old object and were freed with it, so the next descriptor update wrote a garbage VkImageView. On PowerVR (needs_zs_shader_swizzle) every RGBX/BGRX view has a zs_view, and Steam's web helper segfaulted in vkUpdateDescriptorSetWithTemplate within seconds of fast Right presses on the Home shelf. The new Mesa patch rebuilds all of the view's surfaces with init_sampler_view().