error: gl_Position redeclared even with EXT_separate_shader_objects
Submitted by Pavel Rojtberg
Assigned to Intel 3D Bugs Mailing List
Description
according to [1] gl_Position and gl_PointSize must be redeclared prior to use if
- shaders are using "#version 300 es"
- "#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.
[1] https://www.khronos.org/registry/gles/extensions/EXT/EXT_separate_shader_objects.txt
Version: 11.2