title: Do GLSL 4.x subroutine variables cause any performance overhead?
body: <p>There's not too much deep information about them on the web.</p>
  
  <p>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.</p>
  
  <p>Any info or advice?</p>