aboutsummaryrefslogtreecommitdiff
path: root/layers/basic.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-12 12:40:29 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-17 10:05:20 -0600
commit328021cda91349c175b1ed24117b3f54b9726139 (patch)
tree11a805e7ee1712e18627b21dbe6de89cc4d0c723 /layers/basic.cpp
parentcf3b64d885196183202f412d5330ad78dd49db23 (diff)
downloadusermoji-328021cda91349c175b1ed24117b3f54b9726139.tar.xz
rename: GetPhysicalDeviceFormatInfo to GetPhysicalDeviceFormatProperties
Diffstat (limited to 'layers/basic.cpp')
-rw-r--r--layers/basic.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/layers/basic.cpp b/layers/basic.cpp
index d1e78059..bc2d1fc5 100644
--- a/layers/basic.cpp
+++ b/layers/basic.cpp
@@ -125,11 +125,11 @@ VK_LAYER_EXPORT VkResult VKAPI basic_DestroyInstance(VkInstance instance)
return res;
}
-VK_LAYER_EXPORT VkResult VKAPI basic_GetPhysicalDeviceFormatInfo(VkPhysicalDevice gpu, VkFormat format, VkFormatProperties *pFormatInfo)
+VK_LAYER_EXPORT VkResult VKAPI basic_GetPhysicalDeviceFormatProperties(VkPhysicalDevice gpu, VkFormat format, VkFormatProperties *pFormatInfo)
{
- printf("At start of wrapped vkGetPhysicalDeviceFormatInfo() call w/ gpu: %p\n", (void*)gpu);
- VkResult result = instance_dispatch_table(gpu)->GetPhysicalDeviceFormatInfo(gpu, format, pFormatInfo);
- printf("Completed wrapped vkGetPhysicalDeviceFormatInfo() call w/ gpu: %p\n", (void*)gpu);
+ printf("At start of wrapped vkGetPhysicalDeviceFormatProperties() call w/ gpu: %p\n", (void*)gpu);
+ VkResult result = instance_dispatch_table(gpu)->GetPhysicalDeviceFormatProperties(gpu, format, pFormatInfo);
+ printf("Completed wrapped vkGetPhysicalDeviceFormatProperties() call w/ gpu: %p\n", (void*)gpu);
return result;
}
@@ -173,8 +173,8 @@ VK_LAYER_EXPORT void * VKAPI vkGetInstanceProcAddr(VkInstance instance, const ch
return (void *) vkGetPhysicalDeviceLayerProperties;
if (!strcmp("vkGetPhysicalDeviceExtensionProperties", pName))
return (void *) vkGetPhysicalDeviceExtensionProperties;
- if (!strcmp("vkGetPhysicalDeviceFormatInfo", pName))
- return (void *) basic_GetPhysicalDeviceFormatInfo;
+ if (!strcmp("vkGetPhysicalDeviceFormatProperties", pName))
+ return (void *) basic_GetPhysicalDeviceFormatProperties;
if (!strcmp("vkDestroyInstance", pName))
return (void *) basic_DestroyInstance;
if (!strcmp("vkEnumeratePhysicalDevices", pName))