It runs fine with 7.0.3.
Thanks for your help
On Wed, Mar 26, 2008 at 10:34 AM, Shibdas Bandyopadhyay <
> I was using Mesa 7.0.2 which is the latest stable version as per the
> mesa3d.org website.
> I will grab 7.0.3 and check if it runs OK.
> On Tue, Mar 25, 2008 at 10:53 AM, Brian Paul <
> brian.paul@...> wrote:
> > Shibdas Bandyopadhyay wrote:
> > > Hi,
> > > I have a set of vertex and fragment shader for phong shading. The
> > > code works properly on a system with GPU hardware (with nvidia OGL
> > > driver) but when I try to compile it under Mesa I am getting the
> > > following error
> > >
> > > shader/slang/slang_builtin.c:433: _slang_alloc_statevar: Assertion
> > `pos
> > > >= 0' failed
> > >
> > > Can anybody help me with this error? The vertex and pixel shaders are
> > > given below
> > Seems OK here with Mesa git/master and the latest 7.0.3 release
> > candidate. You can grab the later from http://www.mesa3d.org/beta/
> > I put your shaders into two files (shibdas.fs and shibdas.vs) then
> > tested with
> > progs/demos/fslight -fs shibdas.fs -vs shibdas.vs
> > Which version of Mesa are you using?
> > -Brian