Zero out the hit stride for miss SBT tests
authorEric Werness <ewerness@nvidia.com>
Tue, 24 Nov 2020 20:40:44 +0000 (12:40 -0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 26 Nov 2020 17:35:11 +0000 (12:35 -0500)
commitd549a499cb82260750e45a6cb0d5eb0ec9251839
tree647dd6987441e7bda98a129fb48795c04f126026
parent5eb3ca529bc86f8c670dbd177af1c8e9b5c01ed1
Zero out the hit stride for miss SBT tests

The test was relying on a zero sbtRecordStride to not index the hit
groups, but that's only multiplied by the geometryIndex, not the
instanceShaderBindingTableRecordOffset, causing the hit group to
index out of bounds on the miss test

Affects:

dEQP-VK.ray_tracing_pipeline.shader_binding_table.*miss*

Components: Vulkan
VK-GL-CTS issue: 2444

Change-Id: I01868190a4901f87a5c536b70ae9ee0989280b47
external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingShaderBindingTableTests.cpp