[Piglit] [PATCH] glsl-1.10: Verify that C99 digraphs aren't treated specially in GLSL
Kenneth Graunke
kenneth at whitecape.org
Thu Dec 8 13:55:04 PST 2011
On 12/07/2011 03:32 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Right now the digraph-close-bracket tests cause a segfault (or an
> assertion failure) in Mesa's GLSL compiler.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43564
> Cc: Yi Sun <yi.sun at intel.com>
Ian,
I was never clear whether digraphs should or shouldn't be interpreted.
I think the only argument in favor is the "as is standard for C++
preprocessors" text, and I thought digraphs were done translated by the
C++ preprocessor. Which is pretty weak. But the symbols making up the
digraphs are in the character set, so I'm uncertain.
Can you back this up somehow? Spec language, test cases from other
suites, or other driver behavior would suffice. I definitely prefer not
having to interpret them.
More information about the Piglit
mailing list