Download

Profiling DX12 commands not ran through RHI

Hi everyone. I have pass added to GraphicBuilder object that ques up dx12 commands via a prebuilt library on the rhi thread. I want measurements of these commands when I use the profiler, but for some reason they are not showing up. I know for sure there should be numbers coming up because the work of these commands is not insignificant.

I notice when I use the RHI to execute commands instead of directly using DX12, the measurements show up, what is the difference between using the RHI to queue up commands vs. using dx12 directly that makes the profiler work?

Thank you.