Jump to content
  • Advertisement
Sign in to follow this  
joanusdmentia

Redundant state changes

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

Just curious what sort of performance impact redundant state changes have? For example, if I were to bind texture A, render some vertices, bind texture A again and render some more, would a state change actually happen on the second binding?

Share this post


Link to post
Share on other sites
Advertisement
It's left up to the driver to decide. All drivers I know of currently do NOT check for redundant state changes. If your code organization is such that you have uncontrolled state changes with no idea of what's actually changing and what isn't, you may want to do client-side checking for redundancies if your framerate is too low.

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!