From e4d84f5e7a87e4045e5469856a696463afdca843 Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Thu, 10 Feb 2022 12:22:55 +0100 Subject: [PATCH] Avoid invalid reportIntersectionEXT hit kinds in subroup tests Some subgroup ray tracing tests were using invalid values when calling the reportIntersectionEXT function. Affected tests: dEQP-VK.subgroups.*ray_tracing* Components: Vulkan VK-GL-CTS issue: 3513 Change-Id: I96310c32e1e5b4fde157570f0a3131d61f5a125c --- .../vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp b/external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp index 269c5b9..04c624c 100644 --- a/external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp +++ b/external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp @@ -1616,7 +1616,7 @@ void vkt::subgroups::initStdPrograms (vk::SourceCollections& programCollection "{\n" + tempRes + testSrc + - " reportIntersectionEXT(0.75f, gl_HitKindFrontFacingTriangleEXT);\n" + " reportIntersectionEXT(0.75f, 0x7Eu);\n" " result[gl_LaunchIDEXT.x] = tempRes;\n" "}\n"; const std::string callShader = @@ -4186,7 +4186,7 @@ void addRayTracingNoSubgroupShader (SourceCollections& programCollection) "\n" "void main()\n" "{\n" - " reportIntersectionEXT(0.75f, gl_HitKindFrontFacingTriangleEXT);\n" + " reportIntersectionEXT(0.75f, 0x7Eu);\n" "}\n"; const std::string callShaderNoSubgroups = "#version 460 core\n" -- 2.7.4