[Bug 98589] error: gl_Position redeclared even with EXT_separate_shader_objects

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 4 15:12:28 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98589

            Bug ID: 98589
           Summary: error: gl_Position redeclared even with
                    EXT_separate_shader_objects
           Product: Mesa
           Version: 11.2
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: pavel at rojtberg.net
        QA Contact: intel-3d-bugs at lists.freedesktop.org

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20161104/17565d69/attachment.html>


More information about the intel-3d-bugs mailing list