glsl: subroutine types cannot be compared