according to  gl_Position and gl_PointSize must be redeclared prior to use if
1. shaders are using "#version 300 es"
2. "#extension GL_EXT_separate_shader_objects : enable" is present
however MESA fails with "error: gl_Position redeclared" in this situation.
Note that this works if a core GL context instead of an GLES context is used.