tests: Fix DescriptorSetImageSamplerDestroyed+QueueSubmit
Test expected command buffer to have been submitted when it had
not do to skipping previous expected errors. Add QueueSubmit to
make command buffer active
Change-Id: Ib037cd5003d0cb3036280967ba24751c93c7faa6
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index e72205d..701318c 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -5594,6 +5594,7 @@
Draw(1, 0, 0, 0);
m_commandBuffer->EndRenderPass();
m_commandBuffer->EndCommandBuffer();
+ vkQueueSubmit(m_device->m_queue, 1, &submit_info, VK_NULL_HANDLE);
// Immediately try to destroy the descriptor set in the active command buffer - failure expected
m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "Cannot call vkFreeDescriptorSets() on descriptor set 0x");