vulkan/wsi/wayland: move some structs to beginning of code
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Wed, 19 Oct 2022 13:51:01 +0000 (10:51 -0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Oct 2022 12:15:37 +0000 (12:15 +0000)
commit05ed116d012d5e5fb2738552b951bfb39413f7ab
treeed42848416b320f91b5358eee199d991a7bb6be6
parent19b6c889be7c7151d50e46b9cac0c416232c47c9
vulkan/wsi/wayland: move some structs to beginning of code

There are some structs defined in the middle of the code. Move them
closer to where the other structs are defined.

This makes the code easier to read and also will help us in the next
commits, in which we add dma-buf feedback support.

Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12226>
src/vulkan/wsi/wsi_common_wayland.c