Bug 98589 - error: gl_Position redeclared even with EXT_separate_shader_objects
Summary: error: gl_Position redeclared even with EXT_separate_shader_objects
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 11.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
Depends on:
Reported: 2016-11-04 15:12 UTC by Pavel Rojtberg
Modified: 2019-09-25 18:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Pavel Rojtberg 2016-11-04 15:12:28 UTC
according to [1] 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.

[1] https://www.khronos.org/registry/gles/extensions/EXT/EXT_separate_shader_objects.txt
Comment 1 GitLab Migration User 2019-09-25 18:59:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1548.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.