From 8bc4e4c7199cabfc5c4d62fd098b6a9d5cc9a714 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 3 Feb 2020 17:49:59 +0000 Subject: [PATCH] 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. --- util/test/demos/vk/vk_imageless_framebuffer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util/test/demos/vk/vk_imageless_framebuffer.cpp b/util/test/demos/vk/vk_imageless_framebuffer.cpp index ae8e4ff7f..ddacef1cd 100644 --- a/util/test/demos/vk/vk_imageless_framebuffer.cpp +++ b/util/test/demos/vk/vk_imageless_framebuffer.cpp @@ -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)); }