diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-09-07 12:56:17 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2015-09-09 09:39:15 -0600 |
| commit | 101a077f1681162c5acd2615ef579bd5293a13e4 (patch) | |
| tree | aaa5ba80ae04b2019844443656b36b6a2bcaeddf /layers/param_checker.cpp | |
| parent | 892306c06b7ce86b5cb3fbff76c4cfdae9214778 (diff) | |
| download | usermoji-101a077f1681162c5acd2615ef579bd5293a13e4.tar.xz | |
vulkan.h: Refactoring physical device sparse properties and limits, bug# 13139
Part of changes for header revision V161.
Diffstat (limited to 'layers/param_checker.cpp')
| -rw-r--r-- | layers/param_checker.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index 3d3ad0ce..3194f893 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -2232,37 +2232,6 @@ VK_LAYER_EXPORT VkResult VKAPI vkGetPhysicalDeviceImageFormatProperties( return result; } -bool PostGetPhysicalDeviceLimits( - VkPhysicalDevice physicalDevice, - VkPhysicalDeviceLimits* pLimits, - VkResult result) -{ - - if(pLimits != nullptr) - { - } - - if(result < VK_SUCCESS) - { - std::string reason = "vkGetPhysicalDeviceLimits parameter, VkResult result, is " + EnumeratorString(result); - log_msg(mdd(physicalDevice), VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "PARAMCHECK", reason.c_str()); - return false; - } - - return true; -} - -VK_LAYER_EXPORT VkResult VKAPI vkGetPhysicalDeviceLimits( - VkPhysicalDevice physicalDevice, - VkPhysicalDeviceLimits* pLimits) -{ - VkResult result = get_dispatch_table(pc_instance_table_map, physicalDevice)->GetPhysicalDeviceLimits(physicalDevice, pLimits); - - PostGetPhysicalDeviceLimits(physicalDevice, pLimits, result); - - return result; -} - bool PostGetPhysicalDeviceProperties( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties, @@ -8489,8 +8458,6 @@ VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI vkGetInstanceProcAddr(VkInstance instan return (PFN_vkVoidFunction) vkGetPhysicalDeviceFeatures; if (!strcmp(funcName, "vkGetPhysicalDeviceFormatProperties")) return (PFN_vkVoidFunction) vkGetPhysicalDeviceFormatProperties; - if (!strcmp(funcName, "vkGetPhysicalDeviceLimits")) - return (PFN_vkVoidFunction) vkGetPhysicalDeviceLimits; if (!strcmp(funcName, "vkGetGlobalLayerProperties")) return (PFN_vkVoidFunction) vkGetGlobalLayerProperties; if (!strcmp(funcName, "vkGetGlobalExtensionProperties")) |
