Altough not giving any compilation errors now, most GLSL shaders generated by wine fail to render correctly.
In some applications/games, some objects are shown, others aren't. In some games, nothing is rendered at all.
Testing a revision of git previous to the glsl2 merge, I found that this bug happened exactly the same with the old GLSL compiler; this suggests that the problem might not be the compiler per se, but the r300g driver executing the resulting assembly incorrectly. The fact that the games render correctly with the LLVMpipe software renderer seems to confirm this.
Graphics Card: ATI Technologies Inc RV505 [Radeon X1550 64-bit]
CPU: Intel Core Duo 1.8 Ghz, 2.5 GB RAM
Linux kernel 2.6.34, libdrm 2.4.21
Created attachment 38078 [details]
Screenshot with GLSL disabled, rendering correctly
when wine is set to disable GLSL, it generates the shaders using the ARB assembly shader language; then, it renders most apps/games correctly
Created attachment 38079 [details]
Screenshot with GLSL enabled, rendering incorrectly
However, when GLSL is enabled in wine, only some objects are rendered; in this screenshot, the creatures and the torch flames are shown, but not the door or the walls.
Created attachment 38080 [details]
Log generated with MESA_GLSL=dump and RADEON_DEBUG=fp, with GLSL enabled
Created attachment 38081 [details]
Log generated with RADEON_DEBUG=fp, with GLSL disabled
A log without GLSL (when it is rendered correctly) for reference
According to your logs, it seems to be the same issue as bug 29137. See the discussion here:
*** This bug has been marked as a duplicate of bug 29137 ***