On Thu, 22 Dec 2011 10:43:57 -0700, Brian Paul <brian.e.p...@gmail.com> wrote:
> On Wed, Dec 21, 2011 at 2:16 PM, Eric Anholt <e...@anholt.net> wrote:
> > On Sun, 18 Dec 2011 20:08:26 -0700, Brian Paul <bri...@vmware.com> 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 other path
> > -- or is span.z stored as something other than 32 bits of Z in that
> > case, too?
> 
> Z32 would still work, but in practice that format of depth buffer is
> seldom used with swrast.  Z16 is the default.  I was tempted to remove
> the function entirely.

I'd love a commit message rewording to that extent -- I spent a while
trying to puzzle through it.

Attachment: pgplzImZuyVs6.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to