Need Float16 in some derivative tests
authorDavid Neto <dneto@google.com>
Fri, 12 Jul 2019 22:07:41 +0000 (18:07 -0400)
committerAlexander Galazin <alexander.galazin@arm.com>
Fri, 9 Aug 2019 12:45:41 +0000 (14:45 +0200)
Components: Vulkan

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.float16.derivative_1.*
dEQP-VK.spirv_assembly.instruction.graphics.float16.derivative_2.*
dEQP-VK.spirv_assembly.instruction.graphics.float16.derivative_4.*

VK-GL-CTS issue: 1874

Change-Id: Ia75d608568c7580c1f11137507b142e1dbd397fd

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

index deb02cf..bfa7d9e 100644 (file)
@@ -10967,7 +10967,7 @@ tcu::TestCaseGroup* createDerivativeTests (tcu::TestContext& testCtx)
                specs["type_decls"]                     = testType.typeDecls;
 
                fragments["extension"]          = "OpExtension \"SPV_KHR_16bit_storage\"";
-               fragments["capability"]         = "OpCapability DerivativeControl\nOpCapability StorageUniformBufferBlock16\n";
+               fragments["capability"]         = "OpCapability DerivativeControl\nOpCapability StorageUniformBufferBlock16\nOpCapability Float16\n";
                fragments["decoration"]         = decoration.specialize(specs);
                fragments["pre_main"]           = preMain.specialize(specs);
                fragments["testfun"]            = testFun.specialize(specs);