Sign in to follow this  
plasmacel

Do GLSL subroutines cause any performance overhead?

Recommended Posts

plasmacel    217

There's not too much deep information about them on the web.

 

How are they implemented and how they work under the hood? I'd like to know that they cause any performance overhead or not, especially in the case of multiple subroutines to decide what's the best practice to create different versions of shaders: subroutines or separate shaders.

 

Any info or advice?

Edited by plasmacel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this