Jump to content
  • Advertisement
Sign in to follow this  
LHLaurini

Binding same resource twice

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

Quick and short: if I bind a specific resource to a specific slot, then draw something, then bind the same resource to the same slot again, will D3D notice the resource is already bound and ignore the call or will it perform the same time-consuming operation again or is that defined by the implementation and I should not rely on that?

Share this post


Link to post
Share on other sites
Advertisement

It might not waste *as much time* as the first call, depending on the driver... But it will definitely waste some time. It's recommended to structure your engine so that you can efficiently avoid redundant calls.

Thank you.  Exactly what I wanted. Have a nice day. 

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!