Test that imageless framebuffer parameters are properly ignored

* This is kind of what VK_Parameter_Zoo is intended to test, but I don't want to
  add conditional extension tests in there unless there's nowhere else to put
  it, since it adds mental overhead to reading the code.
This commit is contained in:
baldurk
2020-02-03 17:49:59 +00:00
parent f427a7ce02
commit 8bc4e4c719
@@ -162,10 +162,10 @@ void main()
};
CHECK_VKR(vkCreateFramebuffer(
device,
vkh::FramebufferCreateInfo(mainWindow->rp, {VK_NULL_HANDLE}, mainWindow->scissor.extent,
1, VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR)
.next(&viewsInfo),
device, vkh::FramebufferCreateInfo(mainWindow->rp, {(VkImageView)0x1234},
mainWindow->scissor.extent, 1,
VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR)
.next(&viewsInfo),
NULL, &fb));
}