diff options
author | locke-lunarg <locke@lunarg.com> | 2019-06-18 00:06:03 -0600 |
---|---|---|
committer | Locke Lin <47329816+locke-lunarg@users.noreply.github.com> | 2019-06-23 18:26:17 -0600 |
commit | 77b9f7c19d0e8e61190dcd47a9af0f523e917750 (patch) | |
tree | 631958896f0c8b9706f6fc6f5a50254d9368755c /tests/vklayertests_pipeline_shader.cpp | |
parent | 03b0e625c278ac91b42fe4263c91afa3dc37b442 (diff) | |
download | vulkan-validation-layers-77b9f7c19d0e8e61190dcd47a9af0f523e917750.tar.gz |
tests: Change desired failure
Change-Id: I6a201f313b80bb623a38a657de6a9a1afd4e8ac0
Diffstat (limited to 'tests/vklayertests_pipeline_shader.cpp')
-rw-r--r-- | tests/vklayertests_pipeline_shader.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/vklayertests_pipeline_shader.cpp b/tests/vklayertests_pipeline_shader.cpp index c3b7c45fb..26214c701 100644 --- a/tests/vklayertests_pipeline_shader.cpp +++ b/tests/vklayertests_pipeline_shader.cpp @@ -1090,7 +1090,8 @@ TEST_F(VkLayerTest, InvalidCmdBufferPipelineDestroyed) { } // Cause error by submitting command buffer that references destroyed pipeline - m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, " that is invalid because bound Pipeline "); + m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, + "UNASSIGNED-CoreValidation-DrawState-InvalidCommandBuffer-VkPipeline"); m_commandBuffer->QueueCommandBuffer(false); m_errorMonitor->VerifyFound(); } @@ -2478,7 +2479,7 @@ TEST_F(VkLayerTest, CmdClearAttachmentTests) { // Call for full-sized FB Color attachment prior to issuing a Draw m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT, - "vkCmdClearAttachments() issued on command buffer object "); + "UNASSIGNED-CoreValidation-DrawState-ClearCmdBeforeDraw"); vkCmdClearAttachments(m_commandBuffer->handle(), 1, &color_attachment, 1, &clear_rect); m_errorMonitor->VerifyFound(); @@ -2510,7 +2511,7 @@ TEST_F(VkLayerTest, CmdClearAttachmentTests) { TEST_F(VkLayerTest, VtxBufferBadIndex) { m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT, - "but no vertex buffers are attached to this Pipeline State Object"); + "UNASSIGNED-CoreValidation-DrawState-VtxIndexOutOfBounds"); ASSERT_NO_FATAL_FAILURE(Init()); ASSERT_NO_FATAL_FAILURE(InitViewport()); |