owl-project / NVISII

Apache License 2.0
330 stars 28 forks source link

Empty IAS Fix #82

Closed natevm closed 3 years ago

natevm commented 3 years ago

On R440 on a dual Titan XP machine, Christopher Paxton noticed Optix throws an exception when visii.initialize is called, since the initial IAS that is created has 0 instances. It's unclear why, but newer driver/gpu configurations don't display this same exception.

In this patch, we create a blas with a single degenerate triangle, such that when all instances are cleared, the IAS always has at least one GAS.