• Advertisement
Sign in to follow this  

D3D12 Evict and MakeResident.

This topic is 964 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

The question i have is do i need to have a fence whenever i call Evict and MakeResident. Or these will happen immediately. Or do you only need to worry about fence only and only if you are messing with the commandlist.

Share this post


Link to post
Share on other sites
Advertisement

From this page: https://msdn.microsoft.com/en-us/library/windows/desktop/dn788682(v=vs.85).aspx

 

Applications must use fences to ensure the GPU doesn't use non-resident objects. MakeResident must return before the GPU executes a command list that references the object. Evict must be called after the GPU finishes executing a command list that references the object.

Share this post


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

  • Advertisement