pvr: Clean up extension tables
authorMatt Coster <matt.coster@imgtec.com>
Thu, 1 Jun 2023 13:12:47 +0000 (14:12 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Aug 2023 15:38:37 +0000 (15:38 +0000)
commitafe9b73cd5e7ef7300a558483792b96c8f8205a9
tree38a5447a61ee8fa0fcaffa5f397b25465d39be69
parentefb3c93d5fd7685ebaeb7591456bcfab360d07db
pvr: Clean up extension tables

Switches PVR_USE_WSI_PLATFORM to be an always defined boolean to allow
for cleaner use in the extension tables (borrowed from tu) and extends
the pattern to create PVR_USE_WSI_PLATFORM_* equivalents for each
supported platform.

Also fixes the ordering to match the struct definitions.

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24489>
src/imagination/vulkan/pvr_device.c