diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-11-30 16:28:36 -0800 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-12-03 13:43:51 -0800 |
commit | fe644721aa122e46733f23ba1c902321fc1f64e8 (patch) | |
tree | e397dbaf62cb033f864314484228085c78b51ed6 /src/vulkan | |
parent | e8f2294cd27fa17abf2c83ec5cf987affd662964 (diff) |
vk/0.210.0: Rename property pCount parameters
Diffstat (limited to 'src/vulkan')
-rw-r--r-- | src/vulkan/anv_device.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 49d74bbfc78..dc5cbd6344d 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -725,17 +725,17 @@ void anv_DestroyDevice( VkResult anv_EnumerateInstanceExtensionProperties( const char* pLayerName, - uint32_t* pCount, + uint32_t* pPropertyCount, VkExtensionProperties* pProperties) { if (pProperties == NULL) { - *pCount = ARRAY_SIZE(global_extensions); + *pPropertyCount = ARRAY_SIZE(global_extensions); return VK_SUCCESS; } - assert(*pCount >= ARRAY_SIZE(global_extensions)); + assert(*pPropertyCount >= ARRAY_SIZE(global_extensions)); - *pCount = ARRAY_SIZE(global_extensions); + *pPropertyCount = ARRAY_SIZE(global_extensions); memcpy(pProperties, global_extensions, sizeof(global_extensions)); return VK_SUCCESS; @@ -744,28 +744,28 @@ VkResult anv_EnumerateInstanceExtensionProperties( VkResult anv_EnumerateDeviceExtensionProperties( VkPhysicalDevice physicalDevice, const char* pLayerName, - uint32_t* pCount, + uint32_t* pPropertyCount, VkExtensionProperties* pProperties) { if (pProperties == NULL) { - *pCount = ARRAY_SIZE(device_extensions); + *pPropertyCount = ARRAY_SIZE(device_extensions); return VK_SUCCESS; } - assert(*pCount >= ARRAY_SIZE(device_extensions)); + assert(*pPropertyCount >= ARRAY_SIZE(device_extensions)); - *pCount = ARRAY_SIZE(device_extensions); + *pPropertyCount = ARRAY_SIZE(device_extensions); memcpy(pProperties, device_extensions, sizeof(device_extensions)); return VK_SUCCESS; } VkResult anv_EnumerateInstanceLayerProperties( - uint32_t* pCount, + uint32_t* pPropertyCount, VkLayerProperties* pProperties) { if (pProperties == NULL) { - *pCount = 0; + *pPropertyCount = 0; return VK_SUCCESS; } @@ -775,11 +775,11 @@ VkResult anv_EnumerateInstanceLayerProperties( VkResult anv_EnumerateDeviceLayerProperties( VkPhysicalDevice physicalDevice, - uint32_t* pCount, + uint32_t* pPropertyCount, VkLayerProperties* pProperties) { if (pProperties == NULL) { - *pCount = 0; + *pPropertyCount = 0; return VK_SUCCESS; } |