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
34
34
if constexpr (std::is_same_v<BufferType,IGPUBuffer>)
35
35
{
36
36
// 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))
38
38
return true ;
39
39
const auto scratchAddress = scratch.buffer ->getDeviceAddress ();
40
40
// 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