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

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

2011-12-18 Thread Brian Paul
The only consequence is we can only use the occlusion_zless_16_triangle() function with MESA_FORMAT_Z16. --- src/mesa/swrast/s_triangle.c | 27 +++ 1 files changed, 11 insertions(+), 16 deletions(-) diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c