Open MichaelLudeo opened 3 days ago
AMF does fully support D3D12. But because AMF is kind of abstraction in many cases particular D3D API is not very visible. Agreed, we need to provide more documentation in this area. Few points:
Yeah, the lib has thrown me on missing D3D12_HEAP_FLAG_SHARED
flag right away. Now it all works. Thanks for the detailed answer ))
I am searching the code samples for d3d12 related encoding example and I can't find one. In SimpleEncoder.cpp I see some functions kind of ready for d3d12, but there is also commented our code like this:
Does AMF provide solid support for d3d12? If it is , should I do something specific for this case, like explicit synchronization of data transfer at the start/end of encoding?
For example, when I create D3D texture resource from which I am going to submit image data to the encoder,what flags should be set?
D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET
? Or maybe alsoD3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS
?