Re: [Dri-devel] Mesa 4.x and culling

2002-03-05 Thread Keith Whitwell
Leif Delgass wrote: > > The mach64 driver with Mesa 3.x was using code like this (borrowed from > utah-glx) to cull primitives: > > xx[0] = (GLint)(v0->v.x * 4); > yy[0] = (GLint)(v0->v.y * 4); > > xx[1] = (GLint)(v1->v.x * 4); > yy[1] = (GLint)(v1->v.y * 4); > > xx[2] = (GLint)(v3->v.x * 4);

[Dri-devel] Mesa 4.x and culling

2002-03-05 Thread Leif Delgass
The mach64 driver with Mesa 3.x was using code like this (borrowed from utah-glx) to cull primitives: xx[0] = (GLint)(v0->v.x * 4); yy[0] = (GLint)(v0->v.y * 4); xx[1] = (GLint)(v1->v.x * 4); yy[1] = (GLint)(v1->v.y * 4); xx[2] = (GLint)(v3->v.x * 4); yy[2] = (GLint)(v3->v.y * 4); /* calculate