vulkan.h: Change return types of some functions to void
Functions that should be thought of as "impossible to fail in the face
of valid parameters" have had their return types changed to void.
This includes all of the vkDestroy functions, vkFreeMemory, and vkUnmapMemory.
vkUpdateDescriptorSets is also included, because of the frequency the function
is expected to be called.
diff --git a/icd/intel/instance.c b/icd/intel/instance.c
index 3deca51..8971c02 100644
--- a/icd/intel/instance.c
+++ b/icd/intel/instance.c
@@ -222,14 +222,12 @@
return intel_instance_create(pCreateInfo, (struct intel_instance **) pInstance);
}
-ICD_EXPORT VkResult VKAPI vkDestroyInstance(
+ICD_EXPORT void VKAPI vkDestroyInstance(
VkInstance pInstance)
{
struct intel_instance *instance = intel_instance(pInstance);
intel_instance_destroy(instance);
-
- return VK_SUCCESS;
}
ICD_EXPORT VkResult VKAPI vkGetGlobalExtensionProperties(