Jump to content

  • Log In with Google      Sign In   
  • Create Account

DX11 Multithreaded Resource Creation Question


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 DementedCarrot   Members   -  Reputation: 587

Like
0Likes
Like

Posted 08 July 2014 - 01:45 PM

This page says that coarse synchronization is used to prevent concurrent thread device access.

 

http://msdn.microsoft.com/en-us/library/windows/desktop/ff476130(v=vs.85).aspx

 

Can I design a multithreaded resource loader with only multithreading in mind and expect that the cards/drivers that don't support it will serialize the resource creation? I can't be sure, but it seems like I have heard stories of this causing crashes on drivers without support for multithreaded resource creation. 

 

Can anyone confirm this? I don't have a system that I can try it out on!



Sponsor:

#2 MJP   Moderators   -  Reputation: 11751

Like
3Likes
Like

Posted 08 July 2014 - 02:50 PM

In theory everything should work fine, since the runtime itself will synchronize to prevent the driver from having concurrent resource creates if it doesn't support it. But I've never tested on a driver that didn't support concurrent resource creation, so I can't verify anything.



#3 kubera   Members   -  Reputation: 966

Like
1Likes
Like

Posted 11 July 2014 - 12:33 AM

Your question would be answered there (also):

http://xboxforums.create.msdn.com/forums/76.aspx

It is an official Microsoft's forum.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS