aboutsummaryrefslogtreecommitdiff
path: root/layers/swapchain.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-10-11 16:21:32 +1300
committerChris Forbes <chrisforbes@google.com>2016-11-22 11:45:12 +1300
commitc82a17124103cfe9ba1cf3c4a9f1c78b5e9bcf54 (patch)
tree87af82162dadb0ba1e2cb45be1d2b1981594eb23 /layers/swapchain.cpp
parent092f98388d93c0dca662bdff885d050f5af822c0 (diff)
downloadusermoji-c82a17124103cfe9ba1cf3c4a9f1c78b5e9bcf54.tar.xz
layers: Move caps query / swapchain creation interaction to CV
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/swapchain.cpp')
-rw-r--r--layers/swapchain.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp
index 45e00dc3..82578d6f 100644
--- a/layers/swapchain.cpp
+++ b/layers/swapchain.cpp
@@ -1234,10 +1234,7 @@ static bool validateCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateI
// Validate pCreateInfo values with the results of
// vkGetPhysicalDeviceSurfaceCapabilitiesKHR():
if (!pPhysicalDevice || !pPhysicalDevice->gotSurfaceCapabilities) {
- skip_call |=
- log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT,
- reinterpret_cast<uint64_t>(device), __LINE__, SWAPCHAIN_CREATE_SWAP_WITHOUT_QUERY, swapchain_layer_name,
- "vkCreateSwapchainKHR() called before calling vkGetPhysicalDeviceSurfaceCapabilitiesKHR().");
+ // Check moved to CV
} else if (pCreateInfo) {
// Validate pCreateInfo->surface to make sure that
// vkGetPhysicalDeviceSurfaceSupportKHR() reported this as a supported