tests: Fix ClearDepthStencilImageWithinRenderPass
Change-Id: Iced5b7c21c7528368b4e16309d27fbcf4a676380
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index 5f06e6a..60f43d6 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -8262,7 +8262,7 @@
const VkImageSubresourceRange range = vk_testing::Image::subresource_range(image_create_info, VK_IMAGE_ASPECT_DEPTH_BIT);
vkCmdClearDepthStencilImage(m_commandBuffer->GetBufferHandle(), dstImage.handle(),
- VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, &clear_value, 1, &range);
+ VK_IMAGE_LAYOUT_GENERAL, &clear_value, 1, &range);
m_errorMonitor->VerifyFound();
}