Re: [Mesa-dev] [PATCH 5/5] draw: implement distance culling

2013-06-11 Thread Zack Rusin
Roland, that was great, you caught a lot of stuff, thanks! - Original Message - > Am 10.06.2013 16:31, schrieb Zack Rusin: > > Works similarly to clip distance. If the cull distance is negative > > for all vertices against a specific plane then the primitive > > is culled. > > > > Signed-

Re: [Mesa-dev] [PATCH 5/5] draw: implement distance culling

2013-06-11 Thread Zack Rusin
Thanks a lot for the reviews Brian! - Original Message - > On 06/10/2013 08:31 AM, Zack Rusin wrote: > > Works similarly to clip distance. If the cull distance is negative > > for all vertices against a specific plane then the primitive > > is culled. > > > > Signed-off-by: Zack Rusin > >

Re: [Mesa-dev] [PATCH 5/5] draw: implement distance culling

2013-06-11 Thread Roland Scheidegger
Am 10.06.2013 16:31, schrieb Zack Rusin: > Works similarly to clip distance. If the cull distance is negative > for all vertices against a specific plane then the primitive > is culled. > > Signed-off-by: Zack Rusin > --- > src/gallium/auxiliary/draw/draw_context.c | 17 > src/galli

Re: [Mesa-dev] [PATCH 5/5] draw: implement distance culling

2013-06-11 Thread Brian Paul
On 06/10/2013 08:31 AM, Zack Rusin wrote: Works similarly to clip distance. If the cull distance is negative for all vertices against a specific plane then the primitive is culled. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_context.c | 17 src/gallium/auxiliar

[Mesa-dev] [PATCH 5/5] draw: implement distance culling

2013-06-10 Thread Zack Rusin
Works similarly to clip distance. If the cull distance is negative for all vertices against a specific plane then the primitive is culled. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_context.c | 17 src/gallium/auxiliary/draw/draw_gs.c|6 ++ src/gal