[Bug 83380] Linking fails when not writing gl_Position.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 2 00:52:16 PDT 2014


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

Tapani Pälli <lemody at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|idr at freedesktop.org         |lemody at gmail.com

--- Comment #1 from Tapani Pälli <lemody at gmail.com> ---
Because test does not specify GLSL version, I believe lowest possible one is
used and that is why the error condition gets hit, currently test could pass if
it specified #version 140 at the beginning. But it looks like Mesa is indeed
too strict here, GLSL specification 1.10 states:

"Compilers may generate a diagnostic message if they detect gl_Position is not
written, or read before being written, but not all such cases are detectable.
Results are undefined if a vertex shader is executed and does not write
gl_Position."

So for me it looks like Kalyan's fix is proper, I can send your patch to the
list with a change to the comment section as well.

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


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