From aba2731f0427a04a119a59567e6715ba4034920a Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 8 Jul 2021 13:55:21 -0700 Subject: Allow render-test to run inline ray tracing tests. (#1903) * Update VS projects to 2019. * Empty commit to trigger build * Implement gfx inline ray tracing on D3D12. * Allow render-test to run inline ray tracing tests. Co-authored-by: Yong He --- tools/gfx/vulkan/vk-util.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/gfx/vulkan/vk-util.cpp') diff --git a/tools/gfx/vulkan/vk-util.cpp b/tools/gfx/vulkan/vk-util.cpp index c138254c0..56664d9e4 100644 --- a/tools/gfx/vulkan/vk-util.cpp +++ b/tools/gfx/vulkan/vk-util.cpp @@ -262,6 +262,9 @@ Result AccelerationStructureBuildGeometryInfoBuilder::build( case Format::R_UInt16: vkGeomData.triangles.indexType = VK_INDEX_TYPE_UINT16; break; + case Format::Unknown: + vkGeomData.triangles.indexType = VK_INDEX_TYPE_NONE_KHR; + break; default: debugCallback->handleMessage( DebugMessageType::Error, -- cgit v1.2.3