Falcor icon indicating copy to clipboard operation
Falcor copied to clipboard

DXR Acceleration Structure is not showing in debug tools

Open Alekssasho opened this issue 6 years ago • 2 comments

Running HelloDXR Sample with PIX or NVIDIA Nsight Graphics tools does not show the acceleration structure properly. PIX says it is not bound, and Nsight says that there is not Descriptor Heap bound for that argument. Running those tools on https://github.com/NVIDIAGameWorks/DxrTutorials works correctly, and the structure is shown in the tools. PIX version is 1812.14 and Nsight version is 2018.7.0.0 with Driver version GeForce 417.22 with RTX 2070

Here is a screenshot of Nsight: image

Here is one from PIX: image

Alekssasho avatar Dec 30 '18 10:12 Alekssasho

I think it's a PIX bug. All the resources that can't be displayed are part of the global root signature (marked with shared in our shaders). Perhaps PIX doesn't support it, I'll check with Microsoft.

If you need to debug it I suggest to manually bind the TLAS into the RGS.

nbentyNV avatar Jan 04 '19 19:01 nbentyNV

Binding TLAS into RGS made it work for both Nsight and PIX so I will debug it that way if needed. If it is a bug in PIX, is the same bug in Nsight, or it is not showing there for another reason ?

Alekssasho avatar Jan 04 '19 22:01 Alekssasho