Bug 26564

Summary: XreaL: fails to compile shader
Product: Mesa Reporter: Sven Arvidsson <sa>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: http://xreal-project.net/
Whiteboard:
i915 platform: i915 features:
Attachments: Log from XreaL

Description Sven Arvidsson 2010-02-14 06:27:47 UTC
Created attachment 33290 [details]
Log from XreaL

The game XreaL does not work with Mesa, one of the shaders refuse to compile with the following message: "Error: declaration of 'NL' conflicts with previous declaration".

I'm attaching a log from the game which includes the shader source.

I'm using git master, db18996d3da4009a7a031e3444b5cd688e12dc22.
Comment 1 Brian Paul 2010-02-16 10:43:19 UTC
The bug was in the GLSL preprocessor.  It's been fixed in the Mesa 7.7 branch with commit 2eedbc94c22bc13575e7639620f0d1957f205b34 and Mesa/master with commit ee67167358e91e9ffde8aa9e5b96e5def4c16904.

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.