aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2016-03-23 11:13:09 -0600
committerIan Elliott <ianelliott@google.com>2016-03-23 11:13:09 -0600
commite4097b5250c36e70f14f7faa7a7c27b8dbd18c65 (patch)
tree056f063cde2a485f5938cd9019389d0bba95ba6b
parent2a4a6e609cee2c5f10d0020e3e8a56e877a7b87d (diff)
downloadvulkan-validation-layers-e4097b5250c36e70f14f7faa7a7c27b8dbd18c65.tar.gz
layers: GH117: Change warning to an error.
-rw-r--r--layers/swapchain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp
index 84bcaad1e..1feabfdd8 100644
--- a/layers/swapchain.cpp
+++ b/layers/swapchain.cpp
@@ -1744,9 +1744,9 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkAcquireNextImageKHR(VkDevice de
VK_KHR_SWAPCHAIN_EXTENSION_NAME);
}
if ((semaphore == VK_NULL_HANDLE) && (fence == VK_NULL_HANDLE)) {
- skipCall |= LOG_WARNING(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice", SWAPCHAIN_NO_SYNC_FOR_ACQUIRE,
- "%s() called with both the semaphore and fence parameters set to "
- "VK_NULL_HANDLE (at least one should be used).", __FUNCTION__);
+ skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice", SWAPCHAIN_NO_SYNC_FOR_ACQUIRE,
+ "%s() called with both the semaphore and fence parameters set to "
+ "VK_NULL_HANDLE (at least one should be used).", __FUNCTION__);
}
SwpSwapchain *pSwapchain = &my_data->swapchainMap[swapchain];
if (pSwapchain) {