Re: [Dri-devel] Mesa viewport transformation and depth scaling

2002-10-10 Thread Keith Whitwell
José Fonseca wrote: > Keith, > > I'm curious to know how you reminded after so long (7 months)! Did you > actually writed it now or was it stuck in a mail queue all this time? > > By now I got to more or less to those answers, but thanks anyway. As > saying goes: it's better late than never! >

Re: [Dri-devel] Mesa viewport transformation and depth scaling

2002-10-10 Thread José Fonseca
Keith, I'm curious to know how you reminded after so long (7 months)! Did you actually writed it now or was it stuck in a mail queue all this time? By now I got to more or less to those answers, but thanks anyway. As saying goes: it's better late than never! Regards, José Fonseca On Thu, Oc

Re: [Dri-devel] Mesa viewport transformation and depth scaling

2002-10-10 Thread Keith Whitwell
José Fonseca wrote: > The current mach64 (mesa 4.x) driver doesn't seem to be doing z depth > test. After assuring that the mach64's z control register was being set > properly I realized that the vertex buffers had the z in a [0,1] scale > while the primitive drawing functions expected them in

Re: [Dri-devel] Mesa viewport transformation and depth scaling

2002-03-10 Thread Leif Delgass
On Sun, 10 Mar 2002, José Fonseca wrote: ... > So I removed the 'depth_scale' in calculation of hw_viewport, in > mach64CalcViewport, and everything worked fine. Good catch! This fixes some of the rendering problems I was seeing in tuxracer and gltron (I just set depth_scale=1 in StateInit wh

[Dri-devel] Mesa viewport transformation and depth scaling

2002-03-10 Thread José Fonseca
The current mach64 (mesa 4.x) driver doesn't seem to be doing z depth test. After assuring that the mach64's z control register was being set properly I realized that the vertex buffers had the z in a [0,1] scale while the primitive drawing functions expected them in a a [0,0x]. The previo