• Advertisement
Sign in to follow this  

Fence flags

This topic is 440 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi!

 

I can kind of guess what D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER is for but what is the use of D3D12_FENCE_FLAG_SHARED?

 

Is it used for fence shared across different queues?

 

Thanks.

Edited by Shnoutz

Share this post


Link to post
Share on other sites
Advertisement

A non-shared fence will fail ID3D12Device::CreateSharedHandle. A non-cross-adapter-shared fence will fail ID3D12Device::OpenSharedHandle if the device's adapter is different from the device which created that fence. So you only need the shared flag if you plan to go to a different device (e.g. cross-process).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement