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>
Mon, 8 Jul 2019 09:14:57 +0000 (11:14 +0200)
commitb1d28a665afe3ed4d87f590fb23da8fbf1de4af0
treedf4199b7be6ce394eded119a47ea08c5da1792aa
parenteb867e786b65a0bfb73169175953da43edbe6655
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
(cherry picked from commit 92c1b600fad9925a305e346b7de5fa5b6587008e)
external/vulkancts/modules/vulkan/imageless_framebuffer/vktImagelessFramebufferTests.cpp