aboutsummaryrefslogtreecommitdiff
path: root/layers/multi.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-20 16:40:38 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-23 17:31:14 -0600
commitbd5c174bb264d5581719d8666b0646dbc83315ae (patch)
tree8b85347616573ab4899024725a03859cdaa6bb63 /layers/multi.cpp
parentaf7f549a72cdf48ba7a438dce80f063819e0c093 (diff)
downloadusermoji-bd5c174bb264d5581719d8666b0646dbc83315ae.tar.xz
Bug 14621: Change vkGet* functions to not return VkResult
Diffstat (limited to 'layers/multi.cpp')
-rw-r--r--layers/multi.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/layers/multi.cpp b/layers/multi.cpp
index 47b1ba5b..1db6b6f2 100644
--- a/layers/multi.cpp
+++ b/layers/multi.cpp
@@ -118,28 +118,24 @@ VK_LAYER_EXPORT VkResult VKAPI multi2EnumeratePhysicalDevices(
return result;
}
-VK_LAYER_EXPORT VkResult VKAPI multi2GetPhysicalDeviceProperties(
+VK_LAYER_EXPORT void VKAPI multi2GetPhysicalDeviceProperties(
VkPhysicalDevice physicalDevice,
VkPhysicalDeviceProperties* pProperties)
{
VkLayerInstanceDispatchTable *pDisp = get_dispatch_table(multi2_instance_table_map, physicalDevice);
printf("At start of wrapped multi2 vkGetPhysicalDeviceProperties()\n");
- VkResult result = pDisp->GetPhysicalDeviceProperties(physicalDevice, pProperties);
+ pDisp->GetPhysicalDeviceProperties(physicalDevice, pProperties);
printf("Completed multi2 layer vkGetPhysicalDeviceProperties()\n");
-
- return result;
}
-VK_LAYER_EXPORT VkResult VKAPI multi2GetPhysicalDeviceFeatures(
+VK_LAYER_EXPORT void VKAPI multi2GetPhysicalDeviceFeatures(
VkPhysicalDevice physicalDevice,
VkPhysicalDeviceFeatures* pFeatures)
{
VkLayerInstanceDispatchTable *pDisp = get_dispatch_table(multi2_instance_table_map, physicalDevice);
printf("At start of wrapped multi2 vkGetPhysicalDeviceFeatures()\n");
- VkResult result = pDisp->GetPhysicalDeviceFeatures(physicalDevice, pFeatures);
+ pDisp->GetPhysicalDeviceFeatures(physicalDevice, pFeatures);
printf("Completed multi2 layer vkGetPhysicalDeviceFeatures()\n");
-
- return result;
}
/* hook DestroyInstance to remove tableInstanceMap entry */