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 11:27:09 +0000 (07:27 -0400)
commitd081b36582101f53e08fe9f3c6219013e82765e6
tree439e7904fecf9842bf7976976df8aaa84ed70df1
parent633e2c204c70c185ab48a93e35a876beab88de1f
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
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp