Open StudenteChamp2 opened 2 months ago
If you wrap d3d12CommandList
then you have access to BeginCommandBuffer/EndCommandBuffer
from NRI Core interface.
You can additionally wrap d3d12commandQueue
and get access to QueueSubmit
from NRI Core interface and WaitForIdle
from NRI Helper interface. But I don't think that it's needed. Just use your native code. NRI is needed only to wrap d3d12CommandList
and invoke Denoise
.
Will give it a try ASAP thank you :)
I am adding real-time denoising support to my CPU(Yes CPU) path tracer. I already have Optix denoising running and it works like a charm. Now i need a solution for AMD GPUs. I chose NRD. I have a budget of 0.5 sec/ frame to perform denoising.
How to properly execute an NRI/NRD command context? Basically i have a native DX12 command context:
I use that native context to create an NRI/NRD command context
Now I need to implement denoising. Execution should look like this:
So i Need to implement startCommandRecording, EndCommandRecording, and WaitForGPU for NRI
With my native DX12 context it would look like this:
How to implement these 3 for NRI?
Thanks for helping!