I’ve been trying forever to get DXR’s BLAS/TLAS building on the compute queue parallel to DispatchRays tracing on the direct/graphics queue. PIX is showing them serialized, despite not having any resource dependencies between the two.
Is it possible to build the acceleration structures and trace asynchronously?
Hi @thefamilydog, can you post code or pseudocode please. Are you using only one DirectX queue? Ray tracing uses the acceleration structure so there is a dependency. You need double buffering.
I got it working, it was actually just an issue with the PIX mode I used not showing parallel work. Nsight showed it properly. I am double buffering and using multiple queues