panvk: move macro-definition to header

This define is used in panvk_physical_device.c as well, so it needs to
be visible there.

Fixes: ac34183ec3 ("panvk: Move the VkPhysicalDevice logic to panvk_physical_device.{c,h}")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29751>
This commit is contained in:
Erik Faye-Lund
2024-06-17 14:41:13 +02:00
committed by Marge Bot
parent 4b040577d5
commit 9336190868
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -38,10 +38,6 @@ static const struct debug_control panvk_debug_options[] = {
{"no_known_warn", PANVK_DEBUG_NO_KNOWN_WARN},
{NULL, 0}};
#if defined(VK_USE_PLATFORM_WAYLAND_KHR)
#define PANVK_USE_WSI_PLATFORM
#endif
VKAPI_ATTR VkResult VKAPI_CALL
panvk_EnumerateInstanceVersion(uint32_t *pApiVersion)
{
+4
View File
@@ -23,6 +23,10 @@ enum panvk_debug_flags {
PANVK_DEBUG_NO_KNOWN_WARN = 1 << 7,
};
#if defined(VK_USE_PLATFORM_WAYLAND_KHR)
#define PANVK_USE_WSI_PLATFORM
#endif
struct panvk_instance {
struct vk_instance vk;