File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ bool IGPUAccelerationStructure::BuildInfo<BufferType>::invalid(const IGPUAcceler
3434 if constexpr (std::is_same_v<BufferType,IGPUBuffer>)
3535 {
3636 // https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdBuildAccelerationStructuresIndirectKHR-pInfos-03674
37- if (scratch.buffer ->getCreationParams ().usage .hasFlags (IGPUBuffer::EUF_STORAGE_BUFFER_BIT))
37+ if (! scratch.buffer ->getCreationParams ().usage .hasFlags (IGPUBuffer::EUF_STORAGE_BUFFER_BIT))
3838 return true ;
3939 const auto scratchAddress = scratch.buffer ->getDeviceAddress ();
4040 // https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdBuildAccelerationStructuresIndirectKHR-pInfos-03802
You can’t perform that action at this time.
0 commit comments