diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-07-02 16:49:40 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2015-07-02 16:49:40 -0600 |
| commit | eadf998a558e2098f2fb2d04a6b7aba54a2f1f06 (patch) | |
| tree | a1fb828bd48c8e7afe48b18c0d02f6ab83a3c9c1 /layers/param_checker.cpp | |
| parent | 68f05a5a0aefff7fee8f59b23c69d1514078d399 (diff) | |
| download | usermoji-eadf998a558e2098f2fb2d04a6b7aba54a2f1f06.tar.xz | |
vulkan.h: V115 -- Reintroduce memory heaps & types. Bug #14082.
Reworked memory properties and types and added support for multiple
heaps.
Diffstat (limited to 'layers/param_checker.cpp')
| -rw-r--r-- | layers/param_checker.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index 8fa33ceb..f77bd47d 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -2346,12 +2346,6 @@ void PreAllocMemory( "vkAllocMemory parameter, VkStructureType pAllocInfo->sType, is unrecognized enumerator"); return; } - if(!ValidateEnumerator((VkMemoryPropertyFlagBits)pAllocInfo->memProps)) - { - std::string reason = "vkAllocMemory parameter, VkMemoryPropertyFlags pAllocInfo->memProps, is " + EnumeratorString((VkMemoryPropertyFlagBits)pAllocInfo->memProps); - log_msg(mdd(device), VK_DBG_REPORT_WARN_BIT, (VkObjectType)0, NULL, 0, 1, "PARAMCHECK", reason.c_str()); - return; - } } void PostAllocMemory( @@ -2878,18 +2872,6 @@ void PostGetObjectMemoryRequirements( "vkGetObjectMemoryRequirements parameter, VkMemoryRequirements* pMemoryRequirements, is null pointer"); return; } - if(!ValidateEnumerator((VkMemoryPropertyFlagBits)pMemoryRequirements->memPropsAllowed)) - { - std::string reason = "vkGetObjectMemoryRequirements parameter, VkMemoryPropertyFlags pMemoryRequirements->memPropsAllowed, is " + EnumeratorString((VkMemoryPropertyFlagBits)pMemoryRequirements->memPropsAllowed); - log_msg(mdd(device), VK_DBG_REPORT_WARN_BIT, (VkObjectType)0, NULL, 0, 1, "PARAMCHECK", reason.c_str()); - return; - } - if(!ValidateEnumerator((VkMemoryPropertyFlagBits)pMemoryRequirements->memPropsRequired)) - { - std::string reason = "vkGetObjectMemoryRequirements parameter, VkMemoryPropertyFlags pMemoryRequirements->memPropsRequired, is " + EnumeratorString((VkMemoryPropertyFlagBits)pMemoryRequirements->memPropsRequired); - log_msg(mdd(device), VK_DBG_REPORT_WARN_BIT, (VkObjectType)0, NULL, 0, 1, "PARAMCHECK", reason.c_str()); - return; - } if(result != VK_SUCCESS) { |
