[Mesa-dev] DEFAULT_SOFTWARE_DEPTH_BITS=31
Brian Paul
brianp at vmware.com
Wed Nov 6 12:58:04 PST 2013
On 11/06/2013 12:34 PM, burlen wrote:
> When I build osmesa with --with-osmesa-bits=32 I notice that I get 31
> bits by way of the compile line define -DDEFAULT_SOFTWARE_DEPTH_BITS=31.
> What's the story with the number 31? Is 31 bits really better than 32?
IIRC, 32 bit Z never worked properly because of float->int conversion
problems and such. I think I found that 31 bits worked though. It's
been a long time...
-Brian
More information about the mesa-dev
mailing list