From f287e6b4396dfd72cb89c602713b6ac1d65c3686 Mon Sep 17 00:00:00 2001 From: Alexander Galazin Date: Fri, 23 Apr 2021 09:54:50 +0300 Subject: [PATCH] Sync master and vulkan-cts-1.2.6 headers Components: Vulkan Change-Id: I7865f441d2d987f8126e1e8542a494c90fe5b45c --- external/vulkancts/framework/vulkan/vkVulkan_c.inl | 4 ++++ external/vulkancts/scripts/src/vulkan_core.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/external/vulkancts/framework/vulkan/vkVulkan_c.inl b/external/vulkancts/framework/vulkan/vkVulkan_c.inl index adbe676..7fedba6 100644 --- a/external/vulkancts/framework/vulkan/vkVulkan_c.inl +++ b/external/vulkancts/framework/vulkan/vkVulkan_c.inl @@ -949,6 +949,10 @@ extern "C" { #define VK_NULL_HANDLE 0ULL #endif #endif +#ifndef VK_NULL_HANDLE + #define VK_NULL_HANDLE 0 +#endif + #ifndef VK_DEFINE_NON_DISPATCHABLE_HANDLE #if (VK_USE_64_BIT_PTR_DEFINES==1) diff --git a/external/vulkancts/scripts/src/vulkan_core.h b/external/vulkancts/scripts/src/vulkan_core.h index eff1ed0..06e389a 100644 --- a/external/vulkancts/scripts/src/vulkan_core.h +++ b/external/vulkancts/scripts/src/vulkan_core.h @@ -45,6 +45,10 @@ extern "C" { #define VK_NULL_HANDLE 0ULL #endif #endif +#ifndef VK_NULL_HANDLE + #define VK_NULL_HANDLE 0 +#endif + #ifndef VK_DEFINE_NON_DISPATCHABLE_HANDLE #if (VK_USE_64_BIT_PTR_DEFINES==1) -- 2.7.4