vulkan.h: V120 -- Tighten spec around VkMemoryRequirements
Moved the HOST_LOCAL memory property.
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index 2e0a755..95710f6 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -456,7 +456,7 @@
static
bool ValidateEnumerator(VkMemoryPropertyFlagBits const& enumerator)
{
- VkMemoryPropertyFlagBits allFlags = (VkMemoryPropertyFlagBits)(VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL |
+ VkMemoryPropertyFlagBits allFlags = (VkMemoryPropertyFlagBits)(
VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT |
VK_MEMORY_PROPERTY_HOST_NON_COHERENT_BIT |
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
@@ -479,10 +479,6 @@
}
std::vector<std::string> strings;
- if(enumerator & VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL)
- {
- strings.push_back("VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL");
- }
if(enumerator & VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT)
{
strings.push_back("VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT");