wayland surfaces need to take this path to get resizing right
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16814>
drawable->textures[ST_ATTACHMENT_BACK_LEFT] :
drawable->textures[ST_ATTACHMENT_FRONT_LEFT];
- if (is_window && ptex && kscreen->base.fd == -1)
+ bool do_kopper_update = is_window && ptex && kscreen->base.fd == -1;
+ if (cdraw->info.bos.sType == VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR && do_kopper_update)
zink_kopper_update(screen, ptex, &dPriv->w, &dPriv->h);
else
get_drawable_info(dPriv, &x, &y, &dPriv->w, &dPriv->h);