diff options
Diffstat (limited to 'tools/gfx/vulkan/vk-util.cpp')
| -rw-r--r-- | tools/gfx/vulkan/vk-util.cpp | 3 |
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, |
