Fix VK_KHR_imageless_framebuffer tests
authorBoris Zanin <boris.zanin@mobica.com>
Mon, 17 Jun 2019 07:49:36 +0000 (09:49 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 20 Jun 2019 07:14:29 +0000 (03:14 -0400)
commit92c1b600fad9925a305e346b7de5fa5b6587008e
treefb6f36b4ffda1ab76161f832482fb69b7646867e
parentd9dfa3e4413aeb05adf8ee6854236066f68674df
Fix VK_KHR_imageless_framebuffer tests

Formats are referred to by a pointer to a variable allocated on
stack, which will become invalid before its usage.
Use permanent variable and pointer to it.

Update tests:
 * dEQP-VK.imageless_framebuffer.*

Components: Vulkan

VK-GL-CTS issue: 1477

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