<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - error: gl_Position redeclared even with EXT_separate_shader_objects"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98589">98589</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>error: gl_Position redeclared even with EXT_separate_shader_objects
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>11.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pavel@rojtberg.net
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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]
<a href="https://www.khronos.org/registry/gles/extensions/EXT/EXT_separate_shader_objects.txt">https://www.khronos.org/registry/gles/extensions/EXT/EXT_separate_shader_objects.txt</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>