-
Notifications
You must be signed in to change notification settings - Fork 13
Description
I am working on an integration of RadeonImageFilter along side of an existing D3D12 pipeline and I found some parts of the documentation unclear. I am referring here to the documentation posted at https://radeon-pro.github.io/RadeonProRenderDocs/en/rif/.
- Firstly the
rifContextCreateImageFromDirectX12Memoryhas the following description on the website
Creates a new image object with the defined format and DirectX12 resource associated with the context.
While in the RadeonImageFilters_directx12.h this function is described as
Creates the new rif_image object with defined by \p image_desc format associated with rif_context, and DirectX12 buffer object containing image data.
It any resource (both texture and buffer) as the online docs say or is it just buffers as the header says? Also - are there any requirements on the resource? Like heap it needs to reside in etc.?
- Secondly the function
rifSyncronizeQueueis described as
Syncronizes the queue.
What does that mean? Is is CPU-GPU synchronization? GPU-GPU? Is there a pipeline barrier involved? A fence? It needs to be clarified more.
Additionally, I believe its Synchronize not Syncronize (but I am not a native English speaker so I might be wrong).
- Lastly the
rif_performance_statisticis not described on the online documentation at all and the header file is missing any information about units of measurement used by the structure.