diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2019-12-10 15:00:23 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2019-12-11 11:05:56 -0700 |
| commit | 48bf8e7374ce6a43600364b5c1cf2da74c1ecb07 (patch) | |
| tree | 9a937ca2f0435ccec8afe4e179ff0f2a599ca06f | |
| parent | af519f9685398cbb1eeb0d0bf0e400dade80871f (diff) | |
| download | usermoji-48bf8e7374ce6a43600364b5c1cf2da74c1ecb07.tar.xz | |
build: Update to verson 1.1.130 of the Vulkan Headers
- update desktop and Android known-good json files
- regenerated prebuilt sources
Change-Id: Id2bc14068a66714709f7c503f7866738d90f54d8
| -rw-r--r-- | build-android/vulkan-headers_revision_android | 2 | ||||
| -rw-r--r-- | icd/generated/mock_icd.cpp | 37 | ||||
| -rw-r--r-- | icd/generated/mock_icd.h | 27 | ||||
| -rw-r--r-- | icd/generated/vk_typemap_helper.h | 63 | ||||
| -rw-r--r-- | scripts/known_good.json | 4 |
5 files changed, 119 insertions, 14 deletions
diff --git a/build-android/vulkan-headers_revision_android b/build-android/vulkan-headers_revision_android index c4a92d37..23789c03 100644 --- a/build-android/vulkan-headers_revision_android +++ b/build-android/vulkan-headers_revision_android @@ -1 +1 @@ -v1.1.128 +v1.1.130 diff --git a/icd/generated/mock_icd.cpp b/icd/generated/mock_icd.cpp index 5155f50c..658a4561 100644 --- a/icd/generated/mock_icd.cpp +++ b/icd/generated/mock_icd.cpp @@ -2955,6 +2955,31 @@ static VKAPI_ATTR VkResult VKAPI_CALL SignalSemaphoreKHR( +static VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetBufferDeviceAddressKHR( + VkDevice device, + const VkBufferDeviceAddressInfoKHR* pInfo) +{ +//Not a CREATE or DESTROY function + return VK_SUCCESS; +} + +static VKAPI_ATTR uint64_t VKAPI_CALL GetBufferOpaqueCaptureAddressKHR( + VkDevice device, + const VkBufferDeviceAddressInfoKHR* pInfo) +{ +//Not a CREATE or DESTROY function + return VK_SUCCESS; +} + +static VKAPI_ATTR uint64_t VKAPI_CALL GetDeviceMemoryOpaqueCaptureAddressKHR( + VkDevice device, + const VkDeviceMemoryOpaqueCaptureAddressInfoKHR* pInfo) +{ +//Not a CREATE or DESTROY function + return VK_SUCCESS; +} + + static VKAPI_ATTR VkResult VKAPI_CALL GetPipelineExecutablePropertiesKHR( VkDevice device, const VkPipelineInfoKHR* pPipelineInfo, @@ -4102,7 +4127,17 @@ static VKAPI_ATTR VkResult VKAPI_CALL CreateMetalSurfaceEXT( static VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetBufferDeviceAddressEXT( VkDevice device, - const VkBufferDeviceAddressInfoEXT* pInfo) + const VkBufferDeviceAddressInfoKHR* pInfo) +{ +//Not a CREATE or DESTROY function + return VK_SUCCESS; +} + + +static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceToolPropertiesEXT( + VkPhysicalDevice physicalDevice, + uint32_t* pToolCount, + VkPhysicalDeviceToolPropertiesEXT* pToolProperties) { //Not a CREATE or DESTROY function return VK_SUCCESS; diff --git a/icd/generated/mock_icd.h b/icd/generated/mock_icd.h index d4e38148..e5100026 100644 --- a/icd/generated/mock_icd.h +++ b/icd/generated/mock_icd.h @@ -229,6 +229,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = { {"VK_NV_dedicated_allocation_image_aliasing", 1}, {"VK_KHR_separate_depth_stencil_layouts", 1}, {"VK_EXT_buffer_device_address", 2}, + {"VK_EXT_tooling_info", 1}, {"VK_EXT_separate_stencil_usage", 1}, {"VK_NV_cooperative_matrix", 1}, {"VK_NV_coverage_reduction_mode", 1}, @@ -236,6 +237,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = { {"VK_EXT_ycbcr_image_arrays", 1}, {"VK_KHR_uniform_buffer_standard_layout", 1}, {"VK_EXT_full_screen_exclusive", 4}, + {"VK_KHR_buffer_device_address", 1}, {"VK_EXT_line_rasterization", 1}, {"VK_EXT_host_query_reset", 1}, {"VK_EXT_index_type_uint8", 1}, @@ -1766,6 +1768,19 @@ static VKAPI_ATTR VkResult VKAPI_CALL SignalSemaphoreKHR( +static VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetBufferDeviceAddressKHR( + VkDevice device, + const VkBufferDeviceAddressInfoKHR* pInfo); + +static VKAPI_ATTR uint64_t VKAPI_CALL GetBufferOpaqueCaptureAddressKHR( + VkDevice device, + const VkBufferDeviceAddressInfoKHR* pInfo); + +static VKAPI_ATTR uint64_t VKAPI_CALL GetDeviceMemoryOpaqueCaptureAddressKHR( + VkDevice device, + const VkDeviceMemoryOpaqueCaptureAddressInfoKHR* pInfo); + + static VKAPI_ATTR VkResult VKAPI_CALL GetPipelineExecutablePropertiesKHR( VkDevice device, const VkPipelineInfoKHR* pPipelineInfo, @@ -2518,7 +2533,13 @@ static VKAPI_ATTR VkResult VKAPI_CALL CreateMetalSurfaceEXT( static VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetBufferDeviceAddressEXT( VkDevice device, - const VkBufferDeviceAddressInfoEXT* pInfo); + const VkBufferDeviceAddressInfoKHR* pInfo); + + +static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceToolPropertiesEXT( + VkPhysicalDevice physicalDevice, + uint32_t* pToolCount, + VkPhysicalDeviceToolPropertiesEXT* pToolProperties); @@ -2870,6 +2891,9 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = { {"vkGetSemaphoreCounterValueKHR", (void*)GetSemaphoreCounterValueKHR}, {"vkWaitSemaphoresKHR", (void*)WaitSemaphoresKHR}, {"vkSignalSemaphoreKHR", (void*)SignalSemaphoreKHR}, + {"vkGetBufferDeviceAddressKHR", (void*)GetBufferDeviceAddressKHR}, + {"vkGetBufferOpaqueCaptureAddressKHR", (void*)GetBufferOpaqueCaptureAddressKHR}, + {"vkGetDeviceMemoryOpaqueCaptureAddressKHR", (void*)GetDeviceMemoryOpaqueCaptureAddressKHR}, {"vkGetPipelineExecutablePropertiesKHR", (void*)GetPipelineExecutablePropertiesKHR}, {"vkGetPipelineExecutableStatisticsKHR", (void*)GetPipelineExecutableStatisticsKHR}, {"vkGetPipelineExecutableInternalRepresentationsKHR", (void*)GetPipelineExecutableInternalRepresentationsKHR}, @@ -3001,6 +3025,7 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = { {"vkCreateMetalSurfaceEXT", (void*)CreateMetalSurfaceEXT}, #endif {"vkGetBufferDeviceAddressEXT", (void*)GetBufferDeviceAddressEXT}, + {"vkGetPhysicalDeviceToolPropertiesEXT", (void*)GetPhysicalDeviceToolPropertiesEXT}, {"vkGetPhysicalDeviceCooperativeMatrixPropertiesNV", (void*)GetPhysicalDeviceCooperativeMatrixPropertiesNV}, {"vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV", (void*)GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV}, #ifdef VK_USE_PLATFORM_WIN32_KHR diff --git a/icd/generated/vk_typemap_helper.h b/icd/generated/vk_typemap_helper.h index cb718c80..18fbedfa 100644 --- a/icd/generated/vk_typemap_helper.h +++ b/icd/generated/vk_typemap_helper.h @@ -1855,6 +1855,51 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_ typedef VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR Type; }; +// Map type VkPhysicalDeviceBufferDeviceAddressFeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR +template <> struct LvlTypeMap<VkPhysicalDeviceBufferDeviceAddressFeaturesKHR> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR; +}; + +template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR> { + typedef VkPhysicalDeviceBufferDeviceAddressFeaturesKHR Type; +}; + +// Map type VkBufferDeviceAddressInfoKHR to id VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_KHR +template <> struct LvlTypeMap<VkBufferDeviceAddressInfoKHR> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_KHR; +}; + +template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_KHR> { + typedef VkBufferDeviceAddressInfoKHR Type; +}; + +// Map type VkBufferOpaqueCaptureAddressCreateInfoKHR to id VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO_KHR +template <> struct LvlTypeMap<VkBufferOpaqueCaptureAddressCreateInfoKHR> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO_KHR; +}; + +template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO_KHR> { + typedef VkBufferOpaqueCaptureAddressCreateInfoKHR Type; +}; + +// Map type VkMemoryOpaqueCaptureAddressAllocateInfoKHR to id VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO_KHR +template <> struct LvlTypeMap<VkMemoryOpaqueCaptureAddressAllocateInfoKHR> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO_KHR; +}; + +template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO_KHR> { + typedef VkMemoryOpaqueCaptureAddressAllocateInfoKHR Type; +}; + +// Map type VkDeviceMemoryOpaqueCaptureAddressInfoKHR to id VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO_KHR +template <> struct LvlTypeMap<VkDeviceMemoryOpaqueCaptureAddressInfoKHR> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO_KHR; +}; + +template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO_KHR> { + typedef VkDeviceMemoryOpaqueCaptureAddressInfoKHR Type; +}; + // Map type VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR template <> struct LvlTypeMap<VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR> { static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR; @@ -3381,15 +3426,6 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_A typedef VkPhysicalDeviceBufferDeviceAddressFeaturesEXT Type; }; -// Map type VkBufferDeviceAddressInfoEXT to id VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT -template <> struct LvlTypeMap<VkBufferDeviceAddressInfoEXT> { - static const VkStructureType kSType = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT; -}; - -template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT> { - typedef VkBufferDeviceAddressInfoEXT Type; -}; - // Map type VkBufferDeviceAddressCreateInfoEXT to id VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT template <> struct LvlTypeMap<VkBufferDeviceAddressCreateInfoEXT> { static const VkStructureType kSType = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT; @@ -3399,6 +3435,15 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_IN typedef VkBufferDeviceAddressCreateInfoEXT Type; }; +// Map type VkPhysicalDeviceToolPropertiesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT +template <> struct LvlTypeMap<VkPhysicalDeviceToolPropertiesEXT> { + static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT; +}; + +template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT> { + typedef VkPhysicalDeviceToolPropertiesEXT Type; +}; + // Map type VkImageStencilUsageCreateInfoEXT to id VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT template <> struct LvlTypeMap<VkImageStencilUsageCreateInfoEXT> { static const VkStructureType kSType = VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT; diff --git a/scripts/known_good.json b/scripts/known_good.json index ff224bc3..f256bd51 100644 --- a/scripts/known_good.json +++ b/scripts/known_good.json @@ -17,7 +17,7 @@ "sub_dir" : "Vulkan-Headers", "build_dir" : "Vulkan-Headers/build", "install_dir" : "Vulkan-Headers/build/install", - "commit" : "v1.1.128" + "commit" : "v1.1.130" }, { "name" : "MoltenVK", @@ -41,7 +41,7 @@ "sub_dir" : "Vulkan-Loader", "build_dir" : "Vulkan-Loader/build", "install_dir" : "Vulkan-Loader/build/install", - "commit" : "v1.1.128", + "commit" : "v1.1.130", "deps" : [ { "var_name" : "VULKAN_HEADERS_INSTALL_DIR", |
