[Mesa3d-dev] shaders

2006-06-02 Thread Philipp Klaus Krause
What's the current state of shaders in Mesa? I see that src/mesa/shader/slang directory growing since a long time. Is there something useable? If yes, how do I make it compile? Philipp ___ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net

Re: [Mesa3d-dev] shaders

2006-06-02 Thread Philipp Klaus Krause
Brian Paul wrote: Philipp Klaus Krause wrote: What's the current state of shaders in Mesa? The GL_ARB_vertex/fragment_shader extensions are supported. I see that src/mesa/shader/slang directory growing since a long time. Is there something useable? If yes, how do I make it compile? You

Re: [Mesa3d-dev] shaders

2006-06-02 Thread Brian Paul
Philipp Klaus Krause wrote: Brian Paul wrote: Philipp Klaus Krause wrote: What's the current state of shaders in Mesa? The GL_ARB_vertex/fragment_shader extensions are supported. I see that src/mesa/shader/slang directory growing since a long time. Is there something useable? If yes, how do

Re: [Mesa3d-dev] shaders

2006-06-02 Thread Philipp Klaus Krause
Brian Paul wrote: So, I only have to add the extensions to the extensions strings reported by the DRI drivers? Surely vertex shaders can be enabled for all drivers where vertex programs are enabled (and some more)? I wasn't thinking of the DRI drivers. It probably wouldn't be too much

Re: [Mesa3d-dev] shaders

2006-06-02 Thread Michał Król
On 02/06/06, Philipp Klaus Krause [EMAIL PROTECTED] wrote: I'll have a look at it and maybe send patches. For most drivers fixed-function TcL and vertex programs are done in software, so I don't think that being a software path is an argument against vertex shaders there. Beware, some

Re: [Mesa3d-dev] shaders

2006-06-02 Thread Philipp Klaus Krause
Beware, some functionality is still missing: [...] - dFdx, dFdy functions, Aren't these for fragment shaders only? At least I can't see how you could define these in vertex shaders. If it's good enough for software rendering, then it's good enough for the drivers. Philipp