Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualnoatom

Posted 03 June 2014 - 12:21 PM

So its apparently believed that loading shaders via multithreading would be better, but I can't grasp how that would be done, since creating a shader requires the dx device.

 

What would happen if 2 threads tried to create a shader at the same time? Wouldn't a thread start writing over the other? And if each thread had to wait for the other to finish wouldn't that defeat the purpose?


#2noatom

Posted 03 June 2014 - 12:20 PM

So its apparently believed that loading shaders via multithreading would be better, but I can't grasp how that would be done, since creating a shader requires the dx device.

 

What would happen if 2 threads tried to create a shader at the same time? Wouldn't a thread start writing over the other?


#1noatom

Posted 03 June 2014 - 12:20 PM

So there apparently its believe that loading shaders via multithreading would be better, but I can't grasp how that would be done, since creating a shader requires the dx device.

 

What would happen if 2 threads tried to create a shader at the same time? Wouldn't a thread start writing over the other?


PARTNERS