vk/wsi/x11: move surface alpha check from get_caps to creation
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 13 Jun 2023 20:18:44 +0000 (16:18 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Jul 2023 14:17:02 +0000 (14:17 +0000)
commitfb9f697fbb8f836aaf12a269195841e36b93adf2
tree1e987b6fc60daf20770539722b6b884697988c7c
parent776f258ddbaa6e9ebabbda6e99285f7b23c4ac09
vk/wsi/x11: move surface alpha check from get_caps to creation

this makes get_caps a bit less heavy

Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23835>
src/vulkan/wsi/wsi_common_x11.c