projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57cf52
)
tests: Wait idle instead of ignoring errors
author
Tobin Ehlis
<tobine@google.com>
Thu, 1 Sep 2016 15:50:06 +0000
(08:50 -0700)
committer
Tobin Ehlis
<tobine@google.com>
Thu, 8 Sep 2016 15:21:49 +0000
(09:21 -0600)
Prior to destroying objects wait for cmd buffer to complete to avoid errors rather than
ignoring the errors.
tests/layer_validation_tests.cpp
patch
|
blob
|
history
diff --git
a/tests/layer_validation_tests.cpp
b/tests/layer_validation_tests.cpp
index
ec659ec
..
9bc69df
100644
(file)
--- a/
tests/layer_validation_tests.cpp
+++ b/
tests/layer_validation_tests.cpp
@@
-14100,7
+14100,7
@@
TEST_F(VkLayerTest, InUseDestroyedSignaled) {
vkDestroyFence(m_device->device(), fence, nullptr);
m_errorMonitor->VerifyFound();
-
m_errorMonitor->SetDesiredFailureMsg(0, ""
);
+
vkQueueWaitIdle(m_device->m_queue
);
vkDestroySemaphore(m_device->device(), semaphore, nullptr);
vkDestroyFence(m_device->device(), fence, nullptr);
vkDestroyEvent(m_device->device(), event, nullptr);