Jump to content
  • Advertisement
Sign in to follow this  
BornToCode

DirectX12 Question that is bothering me.

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

Imagine you have n command list that are running and each one of those list is drawing an object with a specific set of textures. Now all of the sudden i decided that i want to map an resource which is been currently used in one of the command list, how can i tell whether the gpu is currently using that resource so i can properly synchronize. Since the only way to synchronize is through the CommandQueue by using a fence does that means in that case whenever i call map would i need to submit all pending command list and wait until the fence is return before mapping. Or i guess another option would be to keep track of which command list the resource belongs too and only flush those commandList. I would like to see what others think.

 

Thanks,

Jerome.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!