Require VK_KHR_shader_float16_int8 in float16 opconstant tests
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 4 Oct 2018 07:43:17 +0000 (09:43 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 26 Oct 2018 07:35:12 +0000 (03:35 -0400)
The SPIR-V code in the shaders used by these tests includes
16-bit floating point OpVectorTimesScalar and
OpMatrixTimesVector operations, which require the extension. There
is no compute version of these tests, only graphics.

Components: Vulkan
VK-GL-CTS issue: 1403

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.float16.opconstant.*

Change-Id: If0f7960013759a0d5dad41629dcefc79350c3c88

external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp

index 87aa5b2..11ea49e 100644 (file)
@@ -9815,6 +9815,7 @@ tcu::TestCaseGroup* createOpConstantFloat16Tests(tcu::TestContext& testCtx)
        outputColors[3] = RGBA(127, 127, 255, 255);
 
        extensions.push_back("VK_KHR_16bit_storage");
+       extensions.push_back("VK_KHR_shader_float16_int8");
 
        for (size_t testNdx = 0; testNdx < sizeof(tests) / sizeof(NameConstantsCode); ++testNdx)
        {