Linking without valid shaders works on some drivers. Avoid this case by forcing linking step to return false.