aboutsummaryrefslogtreecommitdiff
path: root/icd
diff options
context:
space:
mode:
authorMike Schuchardt <mikes@lunarg.com>2021-07-20 10:20:43 -0700
committerMike Schuchardt <mikes@lunarg.com>2021-07-21 10:06:04 -0700
commit8d582b0bfecf55a672c153649cae074bfa52bdbb (patch)
treeedc6d1d131c55f9a128ec142dfb90a51873c00fa /icd
parent33a87ce6daecf60742277408ca9fa7ec6a4a5aae (diff)
downloadusermoji-8d582b0bfecf55a672c153649cae074bfa52bdbb.tar.xz
build: Update to header 1.2.185
- Update known-good - Re-enable code generation for VK_HUAWEI_subpass_shading - Generate source Change-Id: Ibb8d8898c9cdbb655c8162e76b68fa465fe8f912
Diffstat (limited to 'icd')
-rw-r--r--icd/generated/mock_icd.cpp24
-rw-r--r--icd/generated/mock_icd.h23
-rw-r--r--icd/generated/vk_typemap_helper.h45
3 files changed, 90 insertions, 2 deletions
diff --git a/icd/generated/mock_icd.cpp b/icd/generated/mock_icd.cpp
index 0b65a419..5f848210 100644
--- a/icd/generated/mock_icd.cpp
+++ b/icd/generated/mock_icd.cpp
@@ -3299,6 +3299,17 @@ static VKAPI_ATTR void VKAPI_CALL CmdSetFragmentShadingRateKHR(
+static VKAPI_ATTR VkResult VKAPI_CALL WaitForPresentKHR(
+ VkDevice device,
+ VkSwapchainKHR swapchain,
+ uint64_t presentId,
+ uint64_t timeout)
+{
+//Not a CREATE or DESTROY function
+ return VK_SUCCESS;
+}
+
+
static VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetBufferDeviceAddressKHR(
VkDevice device,
@@ -3400,6 +3411,7 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetPipelineExecutableInternalRepresentatio
+
#ifdef VK_ENABLE_BETA_EXTENSIONS
static VKAPI_ATTR void VKAPI_CALL CmdEncodeVideoKHR(
@@ -4848,6 +4860,7 @@ static VKAPI_ATTR void VKAPI_CALL CmdSetStencilOpEXT(
+
static VKAPI_ATTR void VKAPI_CALL GetGeneratedCommandsMemoryRequirementsNV(
VkDevice device,
const VkGeneratedCommandsMemoryRequirementsInfoNV* pInfo,
@@ -5084,9 +5097,18 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetSemaphoreZirconHandleFUCHSIA(
#endif /* VK_USE_PLATFORM_FUCHSIA */
+static VKAPI_ATTR void VKAPI_CALL CmdBindInvocationMaskHUAWEI(
+ VkCommandBuffer commandBuffer,
+ VkImageView imageView,
+ VkImageLayout imageLayout)
+{
+//Not a CREATE or DESTROY function
+}
+
+
static VKAPI_ATTR VkResult VKAPI_CALL GetMemoryRemoteAddressNV(
VkDevice device,
- const VkMemoryGetRemoteAddressInfoNV* getMemoryRemoteAddressInfo,
+ const VkMemoryGetRemoteAddressInfoNV* pMemoryGetRemoteAddressInfo,
VkRemoteAddressNV* pAddress)
{
//Not a CREATE or DESTROY function
diff --git a/icd/generated/mock_icd.h b/icd/generated/mock_icd.h
index c7ce1ee3..8c0a3e44 100644
--- a/icd/generated/mock_icd.h
+++ b/icd/generated/mock_icd.h
@@ -246,6 +246,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = {
{"VK_EXT_buffer_device_address", 2},
{"VK_EXT_tooling_info", 1},
{"VK_EXT_separate_stencil_usage", 1},
+ {"VK_KHR_present_wait", 1},
{"VK_NV_cooperative_matrix", 1},
{"VK_NV_coverage_reduction_mode", 1},
{"VK_EXT_fragment_shader_interlock", 1},
@@ -261,6 +262,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = {
{"VK_EXT_extended_dynamic_state", 1},
{"VK_KHR_deferred_host_operations", 4},
{"VK_KHR_pipeline_executable_properties", 1},
+ {"VK_EXT_shader_atomic_float2", 1},
{"VK_EXT_shader_demote_to_helper_invocation", 1},
{"VK_NV_device_generated_commands", 3},
{"VK_NV_inherited_viewport_scissor", 1},
@@ -272,6 +274,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = {
{"VK_GOOGLE_user_type", 1},
{"VK_KHR_pipeline_library", 1},
{"VK_KHR_shader_non_semantic_info", 1},
+ {"VK_KHR_present_id", 1},
{"VK_EXT_private_data", 1},
{"VK_EXT_pipeline_creation_cache_control", 3},
{"VK_KHR_video_encode_queue", 2},
@@ -296,6 +299,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = {
{"VK_FUCHSIA_external_memory", 1},
{"VK_FUCHSIA_external_semaphore", 1},
{"VK_HUAWEI_subpass_shading", 2},
+ {"VK_HUAWEI_invocation_mask", 1},
{"VK_NV_external_memory_rdma", 1},
{"VK_EXT_extended_dynamic_state2", 1},
{"VK_EXT_color_write_enable", 1},
@@ -1981,6 +1985,13 @@ static VKAPI_ATTR void VKAPI_CALL CmdSetFragmentShadingRateKHR(
+static VKAPI_ATTR VkResult VKAPI_CALL WaitForPresentKHR(
+ VkDevice device,
+ VkSwapchainKHR swapchain,
+ uint64_t presentId,
+ uint64_t timeout);
+
+
static VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetBufferDeviceAddressKHR(
VkDevice device,
@@ -2038,6 +2049,7 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetPipelineExecutableInternalRepresentatio
+
#ifdef VK_ENABLE_BETA_EXTENSIONS
static VKAPI_ATTR void VKAPI_CALL CmdEncodeVideoKHR(
@@ -2984,6 +2996,7 @@ static VKAPI_ATTR void VKAPI_CALL CmdSetStencilOpEXT(
+
static VKAPI_ATTR void VKAPI_CALL GetGeneratedCommandsMemoryRequirementsNV(
VkDevice device,
const VkGeneratedCommandsMemoryRequirementsInfoNV* pInfo,
@@ -3138,9 +3151,15 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetSemaphoreZirconHandleFUCHSIA(
#endif /* VK_USE_PLATFORM_FUCHSIA */
+static VKAPI_ATTR void VKAPI_CALL CmdBindInvocationMaskHUAWEI(
+ VkCommandBuffer commandBuffer,
+ VkImageView imageView,
+ VkImageLayout imageLayout);
+
+
static VKAPI_ATTR VkResult VKAPI_CALL GetMemoryRemoteAddressNV(
VkDevice device,
- const VkMemoryGetRemoteAddressInfoNV* getMemoryRemoteAddressInfo,
+ const VkMemoryGetRemoteAddressInfoNV* pMemoryGetRemoteAddressInfo,
VkRemoteAddressNV* pAddress);
@@ -3685,6 +3704,7 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = {
{"vkSignalSemaphoreKHR", (void*)SignalSemaphoreKHR},
{"vkGetPhysicalDeviceFragmentShadingRatesKHR", (void*)GetPhysicalDeviceFragmentShadingRatesKHR},
{"vkCmdSetFragmentShadingRateKHR", (void*)CmdSetFragmentShadingRateKHR},
+ {"vkWaitForPresentKHR", (void*)WaitForPresentKHR},
{"vkGetBufferDeviceAddressKHR", (void*)GetBufferDeviceAddressKHR},
{"vkGetBufferOpaqueCaptureAddressKHR", (void*)GetBufferOpaqueCaptureAddressKHR},
{"vkGetDeviceMemoryOpaqueCaptureAddressKHR", (void*)GetDeviceMemoryOpaqueCaptureAddressKHR},
@@ -3907,6 +3927,7 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = {
#ifdef VK_USE_PLATFORM_FUCHSIA
{"vkGetSemaphoreZirconHandleFUCHSIA", (void*)GetSemaphoreZirconHandleFUCHSIA},
#endif
+ {"vkCmdBindInvocationMaskHUAWEI", (void*)CmdBindInvocationMaskHUAWEI},
{"vkGetMemoryRemoteAddressNV", (void*)GetMemoryRemoteAddressNV},
{"vkCmdSetPatchControlPointsEXT", (void*)CmdSetPatchControlPointsEXT},
{"vkCmdSetRasterizerDiscardEnableEXT", (void*)CmdSetRasterizerDiscardEnableEXT},
diff --git a/icd/generated/vk_typemap_helper.h b/icd/generated/vk_typemap_helper.h
index 60683f3b..8e19c9e8 100644
--- a/icd/generated/vk_typemap_helper.h
+++ b/icd/generated/vk_typemap_helper.h
@@ -2289,6 +2289,15 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_
typedef VkSurfaceProtectedCapabilitiesKHR Type;
};
+// Map type VkPhysicalDevicePresentWaitFeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR
+template <> struct LvlTypeMap<VkPhysicalDevicePresentWaitFeaturesKHR> {
+ static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR;
+};
+
+template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR> {
+ typedef VkPhysicalDevicePresentWaitFeaturesKHR 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;
@@ -2352,6 +2361,24 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KH
typedef VkPipelineLibraryCreateInfoKHR Type;
};
+// Map type VkPresentIdKHR to id VK_STRUCTURE_TYPE_PRESENT_ID_KHR
+template <> struct LvlTypeMap<VkPresentIdKHR> {
+ static const VkStructureType kSType = VK_STRUCTURE_TYPE_PRESENT_ID_KHR;
+};
+
+template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PRESENT_ID_KHR> {
+ typedef VkPresentIdKHR Type;
+};
+
+// Map type VkPhysicalDevicePresentIdFeaturesKHR to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR
+template <> struct LvlTypeMap<VkPhysicalDevicePresentIdFeaturesKHR> {
+ static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR;
+};
+
+template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR> {
+ typedef VkPhysicalDevicePresentIdFeaturesKHR Type;
+};
+
#ifdef VK_ENABLE_BETA_EXTENSIONS
// Map type VkVideoEncodeInfoKHR to id VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR
template <> struct LvlTypeMap<VkVideoEncodeInfoKHR> {
@@ -4467,6 +4494,15 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMI
typedef VkPhysicalDeviceExtendedDynamicStateFeaturesEXT Type;
};
+// Map type VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT
+template <> struct LvlTypeMap<VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT> {
+ static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT;
+};
+
+template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT> {
+ typedef VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT Type;
+};
+
// Map type VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT
template <> struct LvlTypeMap<VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT;
@@ -4956,6 +4992,15 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INF
};
#endif // VK_USE_PLATFORM_FUCHSIA
+// Map type VkPhysicalDeviceInvocationMaskFeaturesHUAWEI to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI
+template <> struct LvlTypeMap<VkPhysicalDeviceInvocationMaskFeaturesHUAWEI> {
+ static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI;
+};
+
+template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI> {
+ typedef VkPhysicalDeviceInvocationMaskFeaturesHUAWEI Type;
+};
+
// Map type VkMemoryGetRemoteAddressInfoNV to id VK_STRUCTURE_TYPE_MEMORY_GET_REMOTE_ADDRESS_INFO_NV
template <> struct LvlTypeMap<VkMemoryGetRemoteAddressInfoNV> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_MEMORY_GET_REMOTE_ADDRESS_INFO_NV;