the question isn't whether the storage imageview has been created,
it's whether the surface is current for the memory binding
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19307>
struct zink_surface *surface = zink_surface(*psurface);
struct zink_resource *res = zink_resource((*psurface)->texture);
struct zink_screen *screen = zink_screen(ctx->base.screen);
- if (surface->simage_view)
+ if (surface->obj == res->obj)
return false;
assert(!res->obj->dt);
VkImageViewCreateInfo ivci = surface->ivci;