glx@glx-buffer-age,Fail
glx@glx-buffer-age vblank_mode=0,Fail
-glx@glx-make-current,Fail
glx@glx-multi-window-single-context,Crash
glx@glx-swap-pixmap-bad,Fail
glx@glx-tfp,Crash
# ignores copied from the old runner script
spec@arb_map_buffer_alignment@arb_map_buffer_alignment-map-invalidate-range
-glx@glx-make-current
spec@arb_timer_query.*
spec@arb_sample_shading@builtin-gl-sample-mask
spec@glsl-1.30@execution@tex-miplevel-selection.*
glx@glx_ext_import_context@make current- multi process,Fail
glx@glx_ext_import_context@make current- single process,Fail
glx@glx_ext_import_context@query context info,Fail
-glx@glx-make-current,Fail
glx@glx-swap-pixmap-bad,Fail
# #6322
glx@glx_ext_import_context@make current- multi process,Fail
glx@glx_ext_import_context@make current- single process,Fail
glx@glx_ext_import_context@query context info,Fail
-glx@glx-make-current,Fail
glx@glx-swap-pixmap-bad,Fail
# #6322
FREE_CL(res);
return NULL;
}
+ struct kopper_displaytarget *cdt = res->obj->dt;
+ if (cdt->swapchain->num_acquires) {
+ /* this should be a reused swapchain after a MakeCurrent dance that deleted the original resource */
+ for (unsigned i = 0; i < cdt->swapchain->num_images; i++) {
+ if (!cdt->swapchain->images[i].acquired)
+ continue;
+ res->obj->dt_idx = i;
+ res->obj->image = cdt->swapchain->images[i].image;
+ res->layout = cdt->swapchain->images[i].layout;
+ }
+ }
} else {
/* frontbuffer */
struct zink_resource *back = (void*)loader_private;