dEQP-VK: Add SPV_KHR_16bit_storage at shaders using 16bit
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Wed, 31 May 2017 11:10:31 +0000 (13:10 +0200)
committerPyry Haulos <phaulos@google.com>
Fri, 2 Jun 2017 18:40:53 +0000 (14:40 -0400)
commitff75accb8c0634ddfa920462d864a58f12a76198
tree65a429c8c163f6ef1ddfc0b6c399ea56523925f4
parenta24bed1ac5b06e6ef87da3b6f9bc103f5cdf463f
dEQP-VK: Add SPV_KHR_16bit_storage at shaders using 16bit

All shaders stages that use VK_KHR_16bit_storage capabilities
need to enable the SPV_KHR_16bit_storage extension at the SPIR-V
assembly.

A recent update of the SPIRV-Tools checks for this error in the
SPIR-V code. This has raised several link error in the execution
of the VK_KHR_16bit_storage tests.

This patch enables the extension at the assembly code of the compute
shaders tests and the pass-through stages of the input-output
graphics tests.

Also includes newline at OpExtension "SPV_KHR_16bit_storage" uses.

Components: Vulkan
VK-GL-CTS issue: 454

Affects:
* dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output.*
* dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.*

Change-Id: I29b7e8706eba54b5f931f33442c85613d99cd113
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsm16bitStorageTests.cpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmGraphicsShaderTestUtil.cpp