Brian Paul wrote:
>
> ant...@wm... wrote:
> >
> > Like I posted a few days back, all the original libMesa's with Q3test
> > Q3Demo and Q3A (as well as Mesa 3.2.1) report 16bit zbuffer inside the
> > game, but 3.3 says 24bit ... and I thought the Voodoo2 has only 16bit
> > zbuffer. Is this a bug or something that I am unaware of?
> >
> > I would appreciate some quick feedback from those who know the insides of
> > Mesa 3.3 real well ...
>
> Mesa 3.3 was changed to allow arbitrary Z buffer depths at runtime,
> instead of being a compile-time option. Looks like I missed
> something in the tdfx driver code. Could you try this patch
> to Mesa-3.3/src/FX/fxapi.c?
>
> diff -r1.21 fxapi.c
> 946c946
> < fxMesa->haveZBuffer=depthSize ? 1 : 0;
> ---
> > fxMesa->haveZBuffer=depthSize ? 16 : 0;
>
D'oh! On second look, that's probably not the solution. I can't test
this here at work. I'll try to do so tonight on my home system.
-Brian
|