Fix errors in imageless framebuffer tests
authorziga-lunarg <ziga@lunarg.com>
Mon, 19 Sep 2022 17:01:59 +0000 (19:01 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 6 Oct 2022 15:47:15 +0000 (15:47 +0000)
commit0d15b6f6320a0601c3ddc541e0e0edecdd3ae463
tree1945de33d80a7ccc1d9e2e3384f70aae0dbdfabd
parent8fd28363ad48ab29d9ed405d5cf4c17592cd073b
Fix errors in imageless framebuffer tests

Attachment must not be VK_ATTACHMENT_LOAD_OP_LOAD if initialLayout is
VK_IMAGE_LAYOUT_UNDEFINED
If framebuffer flags contain VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT then
image usage must include VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT

Components: Vulkan

VK-GL-CTS issue: 3969

Affected tests:
dEQP-VK.imageless_framebuffer.*

Change-Id: Ie588c547f8f55710eeffdccea94dd552dd8559a2
external/vulkancts/modules/vulkan/imageless_framebuffer/vktImagelessFramebufferTests.cpp