From 4da7fa3cdf01887635f52c2c290b7064cb186c6b Mon Sep 17 00:00:00 2001 From: Jari Komppa Date: Mon, 15 Nov 2021 10:25:36 +0200 Subject: [PATCH] Fix amber vs cts device feature requirements This change unifies the device requirements between cts and amber for the affected tests. Affects: dEQP-VK.glsl.builtin.precision_fp16_storage16b.* Components: Vulkan VK-GL-CTS issue: 3304 Change-Id: I93f840751b40d145f89f847612e36733a18ac971 --- .../vulkan/shaderexecutor/vktShaderBuiltinPrecisionTests.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderBuiltinPrecisionTests.cpp b/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderBuiltinPrecisionTests.cpp index 3a94c69..95b1bfb 100644 --- a/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderBuiltinPrecisionTests.cpp +++ b/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderBuiltinPrecisionTests.cpp @@ -6884,12 +6884,18 @@ public: if (ctx.isPackFloat16b == true) { - requirements.push_back("Storage16BitFeatures.storageBuffer16BitAccess"); fileName += "_32bit"; } + else + { + requirements.push_back("Storage16BitFeatures.storageBuffer16BitAccess"); + } } } + requirements.push_back("VK_KHR_16bit_storage"); + requirements.push_back("VK_KHR_storage_buffer_storage_class"); + group->addChild(cts_amber::createAmberTestCase(ctx.testContext, "mat3", "Square matrix 3x3 precision tests", dataDir, fileName + "_mat_3x3.amber", requirements)); group->addChild(cts_amber::createAmberTestCase(ctx.testContext, "mat4", "Square matrix 4x4 precision tests", dataDir, fileName + "_mat_4x4.amber", requirements)); } -- 2.7.4