More shaders: subroutine example + discard qualifier.