Rendering only to the depth buffer seems to need a valid fragment shader with a color output on some platform.