On 10 July 2015 at 07:15, Chris Forbes <chrisf at ijw.co.nz> wrote: > Do you really need is_subroutine_def ? It seems redundant with > num_subroutine_types>0. I'm not sure, the spec isn't very clear on whether a subroutine definition with no subroutine types is legal GLSL or not. Dave.