Float controls: graphics: fix 16bit storage validation
authorDavid Neto <dneto@google.com>
Fri, 12 Jul 2019 16:38:08 +0000 (12:38 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 22 Aug 2019 12:59:16 +0000 (08:59 -0400)
commit8a0fa6e88654fc210f3f29546c9ce6b9b372a0c1
treea02a6e05f092f1407455343e226b795c5a8c01f0
parent9d36177fd9d49550f42a740792fde0b0ec8f2c62
Float controls: graphics: fix 16bit storage validation

For graphics shaders:

Add Float16 capability and shaderFloat16 when the test case uses
16bit float in a way not supported by the 16bit storage extension.

If not using the Float16 capability, drop definitions of 16bit
constants.

Components: Vulkan

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.*

VK-GL-CTS issue: 1874

Change-Id: I1e25a706e0667a45b3e5b0a6c496c77feac90465
(cherry picked from commit d081b36582101f53e08fe9f3c6219013e82765e6)
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp