From a83c04cd2f258fbce81ddbaa10f1e5ae092deb8b Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Thu, 4 Oct 2018 09:43:17 +0200 Subject: [PATCH] Require VK_KHR_shader_float16_int8 in float16 opconstant tests 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 --- .../modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp index 87aa5b2..11ea49e 100644 --- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp +++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp @@ -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) { -- 2.7.4