[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Mesa 7.4-rc2 no separate compilation units in GLSL 1.20 ?
From:       Brian Paul <brianp () vmware ! com>
Date:       2009-03-27 0:08:32
Message-ID: 49CC1900.9070805 () vmware ! com
[Download RAW message or body]

Mateusz Kaduk wrote:
> Hi,
> 
> I am curious will "Separate compilation units" be supported in mesa 7.4
> for Intel 3d driver ?
> Both commercial and not commercial games for Linux does not work well or
> just die because of not being able to compile shader.
> 
> Example
> [26/03/2009 08:13:43] [ShaderGL][shader_gl.cpp(655)] Shader
> <vs_specular_with_scissor_and_color_mask> info log:
> Error: Function 'CalculateFog' prototyped but not defined.  Separate
> compilation units not supported.
> 
> The problem is quite old and there are bugs already reported about that
> ex. https://bugs.freedesktop.org/show_bug.cgi?id=19273
> and many similar. Games not working are YoFrankie (Blender Project),
> Savage2(Commercial), Nexuiz(Open-Source DarkAges Q1 engine),
> RegnumOnline(Commercial free to play) and many more in GLSL mode.
> 
> Are there any plans to implement this feature ?

Not in 7.4 (which is due tomorrow).

I could try to look into this over the weekend maybe.  I think the simplest way to \
get this working is to check for unresolved references at link time, then if needed, \
concatenate the relevant shader sources together and recompile as one unit.  I \
believe another GL vendor was doing that at one point.

-Brian
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic