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: dri-devel@lists.freedesktop.org ReportedBy: hadack@gmx.de
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
https://bugs.freedesktop.org/show_bug.cgi?id=39269
Ian Romanick idr@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86-64 (AMD64) |All Keywords| |NEEDINFO Component|Drivers/Gallium/r300 |glsl-compiler AssignedTo|dri-devel@lists.freedesktop |idr@freedesktop.org |.org | CC| |stereotype441@gmail.com
--- Comment #1 from Ian Romanick idr@freedesktop.org 2011-07-15 15:14:45 PDT --- (In reply to comment #0)
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?
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
dri-devel@lists.freedesktop.org