Jump to content
  • Advertisement
Sign in to follow this  
jcabeleira

Performance hit of having textures bound

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

Hello, is there any performance hit by having textures bound even when they aren't used? For example, if I bind 3 textures but my shader only samples from one, do the other 2 textures cause any perfomance impact? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
To the best of my knowledge, yes. But only in the sense that the act of *binding* them incurs a performance hit. If you batch, etc. than there shouldn't be any slowdown.

Share this post


Link to post
Share on other sites
Some cards also incur a performance hit to all texture samplers if *any* samplers are bound to a floating-point texture

I don't know in general of any perf hit to having textures bound but not used

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.

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!