From eaea7bbadfedc13f76999b5292f3d6fc465c43ee Mon Sep 17 00:00:00 2001 From: TheNumbat Date: Fri, 26 Apr 2024 19:00:50 -0400 Subject: [PATCH] fast trace flag --- rvk/acceleration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rvk/acceleration.cpp b/rvk/acceleration.cpp index 4ff661c..46ac142 100644 --- a/rvk/acceleration.cpp +++ b/rvk/acceleration.cpp @@ -204,7 +204,7 @@ Opt BLAS::make(Arc& memory, Slice(geometries.length()), .pGeometries = geometries.data(), @@ -293,7 +293,7 @@ BLAS BLAS::build(Arc device, Commands& cmds, Buffers buffers, Buf .sType = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR, .type = VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR, .flags = VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR | - VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR, + VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR, .mode = VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR, .dstAccelerationStructure = acceleration_structure, .geometryCount = static_cast(geometries.length()),