[Bug 72273] GLSL preprocessor does not support expressions in #line

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 29 14:32:58 PST 2014


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

--- Comment #5 from Carl Worth <cworth at cworth.org> ---
As discussed on the mailing list, my patches as sent allow an expression
for <line> but not for <source-string-number>.

But allowing expressions for both results in grammar ambiguities, (unless
we did something ugly like disallowing whitespace within these expressions).

I'm not sure what the right answer is, but my vote is to declare the GLSL
specification buggy here and stick with an implementation allowing only
integer literals.

I'll be happy to hear other ideas.

-Carl

-- 
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/20140129/ce35a0ba/attachment.html>


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