Comment # 5
on bug 63579
from Matt Turner
(In reply to comment #4) > Looks like some shaders related to sky rendering are not compiled > successfully. The problem is that there is a '\' (line-continuation) > character in the comment, followed by the line that is not expected to be a > part of comment: > > #version 120 > .... > // > ============================================================================= > \ > uniform vec4 vColor; > > AFAICS the line-continuation character was only introduced in the GLSL 4.20 > spec, and according to the spec next line should be considered a part of the > comment in this case. I'm not sure though how this should be handled for > previous GLSL versions. > > So either this is incorrectly handled by the GLSL compiler, or the shader > itself is incorrect. In any case it's not a bug of the r600g driver. > > I think the easiest solution would be for game devs to remove the '\' > character from that comment to avoid this uncertainty and undefined > behavior, probably it was added accidentally anyway. You might want to > report this to the game developers. The shader is incorrect. There is a drirc workaround for this already. I suppose it's just not wired up for Gallium.
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel