[Bug 93339] glLinkProgram() should fail when a varying is never written to in a previous stage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 17 09:13:27 PST 2015


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

--- Comment #4 from Link Mauve <bugs at linkmauve.fr> ---
There is actually already an error being emitted, only in GLSL 1.20: “program
shader 10 compile for <both> failed : error: fragment shader varying
some_varying not written by vertex shader”

If I just change the GLSL version to 1.30 for example the program will link
properly and the GPU will read from uninitialized memory.

I’m fine with only emitting a warning in this case, if the specification allows
it.

-- 
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/20151217/df9f05ab/attachment.html>


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