From: Iago Toral Quiroga Date: Thu, 4 Oct 2018 07:43:17 +0000 (+0200) Subject: Require VK_KHR_shader_float16_int8 in float16 opconstant tests X-Git-Tag: upstream/1.3.5~1527^2~216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a83c04cd2f258fbce81ddbaa10f1e5ae092deb8b;p=platform%2Fupstream%2FVK-GL-CTS.git 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 --- 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) {