vulkan/wsi: move modifier array into wsi_wl_swapchain
authorChia-I Wu <olvaffe@gmail.com>
Tue, 12 Feb 2019 01:04:54 +0000 (17:04 -0800)
committerKristian H. Kristensen <hoegsberg@gmail.com>
Tue, 9 Apr 2019 00:42:30 +0000 (00:42 +0000)
commitab74937b2c8880d3c084f792f37c6b8d953f9e4b
tree190456ca20f29a51fc148bfaa9632f230a822129
parent52426ce4a929f7e1389baf490967fc02357b3f5e
vulkan/wsi: move modifier array into wsi_wl_swapchain

This avoids repeated checks for each wsi_wl_image.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/vulkan/wsi/wsi_common_wayland.c