mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 00:40:25 +01:00
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> (cherry picked from commit9336190868)
This commit is contained in:
parent
06778bffbd
commit
dc7d0d6a58
3 changed files with 5 additions and 5 deletions
|
|
@ -854,7 +854,7 @@
|
|||
"description": "panvk: move macro-definition to header",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ac34183ec3df1435481f345d87f06ee949ed43c7",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -35,10 +35,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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue