Issue 25 in glumpy: glsl shader linking fails on ati card

7 views
Skip to first unread message

glu...@googlecode.com

unread,
Jan 17, 2013, 4:56:00 PM1/17/13
to Nicolas...@inria.fr
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 25 by brettgra...@gmail.com: glsl shader linking fails on ati card
http://code.google.com/p/glumpy/issues/detail?id=25

What steps will reproduce the problem?
1. Use an ati card
2. this was tested on ubuntu 12.04
3.

What is the expected output? What do you see instead?
All shader compilations fail with:

"""
glumpy.graphics.shader.ShaderException: Linking: Vertex shader(s) failed to
link, fragment shader(s) failed to link.
ERROR: 9:1: error(#132) Syntax error: 'v' parse error
ERROR: error(#273) 1 compilation errors. No code generated

ERROR: 9:1: error(#132) Syntax error: 'v' parse error
ERROR: error(#273) 1 compilation errors. No code generated
"""


What version of the product are you using? On what operating system?
git checkout of glumpy (commit: fb8dd9e39d0e74e9c1b5d02ef4f0207bada605c0)
Ubuntu 12.04LTS
OpenGL.version.__version__ == 3.0.1b2

Please provide any additional information below.
I found the fix here:
http://www.gamedev.net/topic/562542-glsl-linking-error-for-simple-shaders/

in brief, change line 107 in glumpy/graphics/shader.py to:

gl.glShaderSource(shader, [strings, ])

instead of:

gl.glShaderSource(shader, strings)

glu...@googlecode.com

unread,
Jan 23, 2013, 1:28:35 AM1/23/13
to Nicolas...@inria.fr
Updates:
Status: Fixed

Comment #1 on issue 25 by Nicolas...@gmail.com: glsl shader linking
Thanks, it has been corrected.

Reply all
Reply to author
Forward
0 new messages