gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 548 forks source link

dx12: Semaphore synchronization guarentees #1796

Open msiglreith opened 6 years ago

msiglreith commented 6 years ago

Investigate the synchronization guarentees provided by the semaphore implementation via fences. Vulkan semaphores define a memory dependency, which we should try to emulate on dx12 as good as possible. I couldn't find documentation on this topic on msdn.

Interesting dicussion: https://www.gamedev.net/forums/topic/677701-d3d12-resource-barriers-in-multiple-command-lists/?tab=comments#comment-5286493

msiglreith commented 6 years ago

Also, analysis required for fences.