Fix stack overflow on vkGetPhysicalDeviceSparseImageFormatProperties
authorSlawomir Cygan <slawomir.cygan@intel.com>
Tue, 27 Mar 2018 14:41:33 +0000 (16:41 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 6 Apr 2018 10:48:33 +0000 (06:48 -0400)
commit0805c9d404d790ce20c3924cfdc5c0b9d7256b14
tree5dcbada063d8868514bfd83c19cd711b12b85f9e
parentd0b49250055be52945e829d7b5e1f0d63f9e1d4a
Fix stack overflow on vkGetPhysicalDeviceSparseImageFormatProperties

Function may return random number of structs overwriting
the sparseImageFormatProperties variable.

Components: Vulkan

VK-GL-CTS Issue: 1103

Affects: dEQP-VK.texture.*.sparse_*

Change-Id: I101b72360145c23cef14cfeb50c7f9cd02e62e2f
external/vulkancts/modules/vulkan/texture/vktTextureTestUtil.cpp