You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per KhronosGroup/Vulkan-Docs#1328, there are a number of ways to create empty acceleration structures which can't be hit in the ray tracing extension. In some cases these are going to crop up occasionally and should be completely innocuous, but there's certainly also danger that application developers didn't intend it. Adding warnings to these cases would aid in developer bring up with the ray tracing extensions.
Specifically, the cases that matter are: VkAccelerationStructureBuildGeometryInfoKHR::geometryCount is 0, VkAccelerationStructureBuildOffsetInfoKHR::primitiveCount is 0, and cases where all primitives are inactive (see spec for how triangles are determined as active or otherwise - but this is a harder to detect case which is also likely rarer).
As per KhronosGroup/Vulkan-Docs#1328, there are a number of ways to create empty acceleration structures which can't be hit in the ray tracing extension. In some cases these are going to crop up occasionally and should be completely innocuous, but there's certainly also danger that application developers didn't intend it. Adding warnings to these cases would aid in developer bring up with the ray tracing extensions.
Specifically, the cases that matter are:
VkAccelerationStructureBuildGeometryInfoKHR::geometryCount
is 0,VkAccelerationStructureBuildOffsetInfoKHR::primitiveCount
is 0, and cases where all primitives are inactive (see spec for how triangles are determined as active or otherwise - but this is a harder to detect case which is also likely rarer).cc @dgkoch
The text was updated successfully, but these errors were encountered: