aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-05-15 15:55:28 -0600
committerTobin Ehlis <tobine@google.com>2017-05-17 09:30:13 -0600
commit648cbff2438ccd2906237c017a059917e9e10fa2 (patch)
treee546e99ae4511a14c1a47e0316a7cfb098e2f34a
parent64510d8e9981171c115f810e55e4f55fa74ad6d4 (diff)
downloadusermoji-648cbff2438ccd2906237c017a059917e9e10fa2.tar.xz
layers: Add VUIDs to new objecttracker checks
Change-Id: I0d2d893b68aea7df294796cf42a8c6d46fbfd441
-rw-r--r--layers/object_tracker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/layers/object_tracker.cpp b/layers/object_tracker.cpp
index 4da181c0..f167f183 100644
--- a/layers/object_tracker.cpp
+++ b/layers/object_tracker.cpp
@@ -5072,8 +5072,6 @@ VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDev
std::lock_guard<std::mutex> lock(global_lock);
skip |= ValidateObject(physicalDevice, physicalDevice, kVulkanObjectTypePhysicalDevice, false, VALIDATION_ERROR_03289,
VALIDATION_ERROR_UNDEFINED);
- skip |= ValidateObject(physicalDevice, pSurfaceInfo->surface, kVulkanObjectTypeSurfaceKHR, false,
- VALIDATION_ERROR_UNDEFINED, VALIDATION_ERROR_UNDEFINED);
}
if (skip) {
return VK_ERROR_VALIDATION_FAILED_EXT;