diff options
author | Jason Ekstrand <[email protected]> | 2015-12-02 03:34:43 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-03 13:43:53 -0800 |
commit | 5a024417894420d2647f53de8de8dd72e773fc74 (patch) | |
tree | 012787526e0fa9cc32da9dfa670645bcdf1db484 | |
parent | a9fc0ce0e3293b45fc0a57e886e9d98eb79b7594 (diff) |
vk/0.210.0: Rename a parameter to GetImageSparseMemoryRequirements
-rw-r--r-- | include/vulkan/vulkan.h | 4 | ||||
-rw-r--r-- | src/vulkan/anv_device.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index e29f9adf19e..7f62b391972 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -2185,7 +2185,7 @@ typedef VkResult (VKAPI_PTR *PFN_vkBindBufferMemory)(VkDevice device, VkBuffer b typedef VkResult (VKAPI_PTR *PFN_vkBindImageMemory)(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset); typedef void (VKAPI_PTR *PFN_vkGetBufferMemoryRequirements)(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements); typedef void (VKAPI_PTR *PFN_vkGetImageMemoryRequirements)(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements); -typedef void (VKAPI_PTR *PFN_vkGetImageSparseMemoryRequirements)(VkDevice device, VkImage image, uint32_t* pNumRequirements, VkSparseImageMemoryRequirements* pSparseMemoryRequirements); +typedef void (VKAPI_PTR *PFN_vkGetImageSparseMemoryRequirements)(VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements); typedef void (VKAPI_PTR *PFN_vkGetPhysicalDeviceSparseImageFormatProperties)(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties); typedef VkResult (VKAPI_PTR *PFN_vkQueueBindSparse)(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence); typedef VkResult (VKAPI_PTR *PFN_vkCreateFence)(VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence); @@ -2458,7 +2458,7 @@ VKAPI_ATTR void VKAPI_CALL vkGetImageMemoryRequirements( VKAPI_ATTR void VKAPI_CALL vkGetImageSparseMemoryRequirements( VkDevice device, VkImage image, - uint32_t* pNumRequirements, + uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements); VKAPI_ATTR void VKAPI_CALL vkGetPhysicalDeviceSparseImageFormatProperties( diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 1c313ff9eea..6fa7c9952e0 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -1069,7 +1069,7 @@ void anv_GetImageMemoryRequirements( void anv_GetImageSparseMemoryRequirements( VkDevice device, VkImage image, - uint32_t* pNumRequirements, + uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) { stub(); |