Bug 29718 - glsl2: failing to compile a conditional assignment to gl_Position
Summary: glsl2: failing to compile a conditional assignment to gl_Position
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 16:45 UTC by Marek Olšák
Modified: 2010-08-23 17:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
failing shader (396 bytes, application/octet-stream)
2010-08-20 16:45 UTC, Marek Olšák
Details

Description Marek Olšák 2010-08-20 16:45:56 UTC
Created attachment 38031 [details]
failing shader

The GLSL2 compiler fails to compile the attached shader and returns this error:

0:6(13): error: syntax error, unexpected $end

The attached shader is actually a shader_runner test.
Comment 1 Ian Romanick 2010-08-23 17:56:23 UTC
There's a funny (read: non-ASCII) character in that shader between the ">" and the "0" in the if-statement's condition.  Replacing that with a space made the problem go away.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.