1 Nov 2004 23:16
Re: Re: Latest Mesa CVS (DRI) do not compile (since glx indirect?)
John Lightsey <john <at> nixnuts.net>
2004-11-01 22:16:15 GMT
2004-11-01 22:16:15 GMT
On Saturday 30 October 2004 15:19, Dieter Nützel wrote: > Am Freitag, 29. Oktober 2004 21:36 schrieb Roland Scheidegger: > > Dieter Nützel wrote: > > > Addition: > > > > > > XFree86 DRI CVS build works, but libGLcore.a have unresolved symbols. > > > > > > Symbol _mesa_Uniform2iARB from > > > module /usr/X11R6/lib/modules/extensions/libGLcore.a is unresolved! > > > > I suspect you need to include shaderobjects.c/shaderobjects.o in the > > Imakefile.inc of lib/GL/mesa/shader, but I'm really not sure. I'm not > > familiar at all with that build system... > > I think though it is expected that you can't build latest cvs Mesa in > > the xorg/xfree86 directories. > > Good point! > > Brian pointed in the same direction. > > Here comes the patch for XFree86 DRI: > DRI build and starts with your patch, but there's another problem with r200 cards. john <at> lightning:~$ LIBGL_DEBUG=verbose glxinfo name of display: :0.0 libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0) libGL: OpenDriver: trying /usr/X11R6/lib/modules-dri-trunk/dri/r200_dri.so(Continue reading)
.
When I said ugly, I didn't primarily mean the code as such, just the
fact that the same code already exists as a pipeline stage in core mesa,
so I'd consider it nothing but code bloat. But if there's no other way
to use that code, so be it!
> As it turns out, there is no vtxfmt codegen for fogcoord. There are
> a couple things that would be required to do so.
>
> 1. All of the SecondaryColor routines need to be modified to not
> write 0xff to the secondary alpha value (aka fog).
>
> 2. The vtxfmt fog routines would have to write the calculated fog
> factor to the secondary alpha and write the "raw" fog coord to
> ctx->CurrentAttrib[VERT_ATTRIB_FOG][0].
>
> 3. r200_copy_to_current, VFMT_FALLBACK, and check_vtx_fmt would need
RSS Feed