Re: [Mesa-dev] [PATCH 21/22] swrast: stop using _DepthBuffer in triangle code

2011-12-24 Thread Eric Anholt
On Thu, 22 Dec 2011 10:43:57 -0700, Brian Paul wrote: > On Wed, Dec 21, 2011 at 2:16 PM, Eric Anholt wrote: > > On Sun, 18 Dec 2011 20:08:26 -0700, Brian Paul wrote: > >> The only consequence is we can only use the occlusion_zless_16_triangle() > >> function with MESA_FORMAT_Z16. > > > > I'm not

Re: [Mesa-dev] [PATCH 21/22] swrast: stop using _DepthBuffer in triangle code

2011-12-22 Thread Brian Paul
On Wed, Dec 21, 2011 at 2:16 PM, Eric Anholt wrote: > On Sun, 18 Dec 2011 20:08:26 -0700, Brian Paul wrote: >> The only consequence is we can only use the occlusion_zless_16_triangle() >> function with MESA_FORMAT_Z16. > > I'm not following that conclusion, probably due to ignorance of swrast > s

Re: [Mesa-dev] [PATCH 21/22] swrast: stop using _DepthBuffer in triangle code

2011-12-21 Thread Eric Anholt
On Sun, 18 Dec 2011 20:08:26 -0700, Brian Paul wrote: > The only consequence is we can only use the occlusion_zless_16_triangle() > function with MESA_FORMAT_Z16. I'm not following that conclusion, probably due to ignorance of swrast spans code. I would think that Z32 would still work for that o