Summary: | GLSL linker bug | ||
---|---|---|---|
Product: | Mesa | Reporter: | Fredrik Tolf <fredrik> |
Component: | glsl-compiler | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | Keywords: | NEEDINFO |
Version: | 7.7 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Fredrik Tolf
2011-02-04 19:33:43 UTC
The entire GLSL compiler stack, including the linker, has been completely rewritten since 7.7.1. Could you retry with either Mesa 7.9.1 or Mesa 7.10? Not sure how much APT breakage that would entail, but I'll try. I'm not sure what you mean by "APT breakage." You should be able to just build it, add <build dir>/lib64 to your LD_LIBRARY_PATH, and set LIBGL_DRIVERS_PATH to <build dir>/lib64. Something like the following (all on one line): LD_LIBRARY_PATH=~/mesa/lib64 LIBGL_DRIVERS_DIR=~/mesa/lib64 glxinfo | grep '^OpenGL [vr]e' should show something like OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile GEM 20100330 DEVELOPMENT OpenGL version string: 2.1 Mesa 7.9.1 > You should be able to just build it, add <build dir>/lib64 to your
> LD_LIBRARY_PATH, and set LIBGL_DRIVERS_PATH to <build dir>/lib64.
For some reason, that didn't work very well (it made rendering very slow), but I did manage to pull in mesa 7.10 from Debian unstable (it had incomplete dependencies on libdrm, however, which took me some time to figure out), which worked as it should.
I can thus confirm that this bug is not present in 7.10 (as expected, I guess). There does seem to be some other bug, however, but if it turns out to really be a bug, I'll file a separate report on it (I haven't investigated thoroughly yet, but it seems that all gl_LightSource elements after the first are just copies of the first).
Okay. I'll close this bug. If you can reproduce the gl_LightSource issue, please submit another bug. We don't have a lot of coverage of built-in uniforms in our test suite, so it won't surprise me if there is a bug there. |
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.