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:
committed by
Marge Bot
parent
4b040577d5
commit
9336190868
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user