Revert "zink: try to reuse swapchain modifier for dmabuf export"
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 19 Aug 2022 17:37:38 +0000 (13:37 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 19 Aug 2022 18:55:26 +0000 (18:55 +0000)
commit5b7c2dffc43eb7ada61807a6e679cc2c1b3b2682
tree387500a8dd48ca0042684c62a9e01724d780f05b
parentb936d638ab039f090b7826e2d44e8811b9e32309
Revert "zink: try to reuse swapchain modifier for dmabuf export"

This reverts commit 49efa73ba11c4cacaed0052b984e1fb884cf7600.

this happens to work with mesa (sometimes), but it's going to be
illegal most of the time since swapchain images are treated as though
they are created with OPTIMAL tiling

cc: mesa-stable

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18148>
src/gallium/drivers/zink/zink_resource.c
src/gallium/drivers/zink/zink_types.h