[Bug 107772] Mesa preprocessor matches if(def)s & endifs incorrectly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 31 17:43:46 UTC 2018


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

--- Comment #5 from Ian Romanick <idr at freedesktop.org> ---
Here's a minimal reproducing test case:

#version 110

#ifdef THING_1
#define THING_2(x) \
                if (x)
#endif

void main()
{
    gl_Position = vec4(0);
}

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


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