Skip to contentSkip to conversation

New: Pioneer Spacesim fails to compile shader

Bug 39269 [email protected] 1 participant 2 messages Jul 15, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: Pioneer Spacesim fails to compile shader
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

it disables shaders on start with this error message:

GL_ARB_point_sprite: Yes
Error compiling shader: data/shaders/postprocessBloom1Downsample.frag.glsl:
0:122(1): error: syntax error, unexpected EXTENSION, expecting $end

OpenGL vendor: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI R580

Pioneer will run with shaders disabled.

this works with mesa 7.10 branch

the code to the game is here:
https://github.com/pioneerspacesim/pioneer

Distro is Slackware64 13.37

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 39269] Pioneer Spacesim fails to compile shader

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

Ian Romanick <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Platform|x86-64 (AMD64)              |All
           Keywords|                            |NEEDINFO
          Component|Drivers/Gallium/r300        |glsl-compiler
         AssignedTo|[email protected] |[email protected]
                   |.org                        |
                 CC|                            |[email protected]

--- Comment #1 from Ian Romanick <[email protected]> 2011-07-15 15:14:45 PDT --- (In reply to comment #0)

Quoted 5 lines

it disables shaders on start with this error message:

GL_ARB_point_sprite: Yes
Error compiling shader: data/shaders/postprocessBloom1Downsample.frag.glsl:
0:122(1): error: syntax error, unexpected EXTENSION, expecting $end

This concerns me a bit. This is saying that the error is in line 122. #extension lines can only be preceded in a shader by comments, whitespace, and the #version line. The shader at github has #extension as the first line, so something fishy is going on.

Can you run with MESA_GLSL=dump and attach the output?

Quoted 11 lines

OpenGL vendor: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI R580

Pioneer will run with shaders disabled.

this works with mesa 7.10 branch

the code to the game is here:
https://github.com/pioneerspacesim/pioneer

Distro is Slackware64 13.37

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.