zink_rebind_all_images() rebuilds a sampler view once per backing-object
change, through the rebind_count guard. A second slot bound to the same
view then skipped its descriptor refresh and kept the old VkImageView.
The Mesa patch now refreshes every slot whose cached view no longer
matches the view's current surface.
Follow-up to #2107 (CodeRabbit review). Tested on a Pixel 10 Pro Fold
(PowerVR): debug Mesa 26.0.8 with the patch, Steam web helper threaded,
8 fast Home-shelf scroll cycles, no web helper restart, thumbnails intact.
Mesa 26.0.8, which the Ubuntu runtime builds, carries the backport of
"zink: create views for samplers lazily", which dropped the depth/stencil
aspect check in init_sampler_view(). On drivers with
needs_zs_shader_swizzle (Imagination) every colour view with a constant-1
alpha, such as RGBX/BGRX textures, then got the red-only depth swizzle
view, so Steam's interface and games showed red as R=G=B.
Carry Icenowy Zheng's upstream fix d55418dae7 (Mesa MR 41923), which
restores the aspect check. It applies on top of patch 0004.
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().