aboutsummaryrefslogtreecommitdiff
path: root/layers/param_checker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/param_checker.cpp')
-rw-r--r--layers/param_checker.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index 2e0a755a..95710f6a 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -456,7 +456,7 @@ std::string EnumeratorString(VkQueueFlagBits const& enumerator)
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::string EnumeratorString(VkMemoryPropertyFlagBits const& enumerator)
}
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");