summaryrefslogtreecommitdiff
path: root/tools/gfx/vulkan/vk-util.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-07-08 13:55:21 -0700
committerGitHub <noreply@github.com>2021-07-08 13:55:21 -0700
commitaba2731f0427a04a119a59567e6715ba4034920a (patch)
treeb5b127f776db65c7154c31a41f1e91eaeb738503 /tools/gfx/vulkan/vk-util.cpp
parent09950676b3f73bb9967aea183d27a30d63098475 (diff)
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 <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/vulkan/vk-util.cpp')
-rw-r--r--tools/gfx/vulkan/vk-util.cpp3
1 files changed, 3 insertions, 0 deletions
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,