[Bug 89415] Mesa incorrectly thinks #extension directive is in the middle of a shader

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 3 21:11:15 PST 2015


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

--- Comment #7 from Ian Romanick <idr at freedesktop.org> ---
(In reply to Kenneth Graunke from comment #6)
> Those two shaders are both legal and compile successfully here, with no
> special options.  The extension directives are definitely in the correct
> place, and I don't get any complaints about that.
> 
> It must have been a different shader that broke.

Either that or the engine / framework / application inserts some stuff at the
top of the shader that the author didn't put there.  The Second Life viewer has
that problem.  Getting the output of MESA_GLSL=error should help sort that out.

I'm not sure why the output in attachment #113970 has the GLSL IR but not the
original GLSL code.  That's... weird.

-- 
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/20150304/6762cab7/attachment.html>


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