Do depth testing with integer values.
authorBrian <brian.paul@tungstengraphics.com>
Tue, 10 Jul 2007 19:53:21 +0000 (13:53 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 10 Jul 2007 19:53:21 +0000 (13:53 -0600)
commit1deafdb1dec24c2920ab92098f1433273b2ccbdd
tree620113d9c9ebee3dd3a80df46771252c3e03c78f
parentf6dffd6ee70473dcbf65420a9c635049199f7a4e
Do depth testing with integer values.

Using floats (and float->ushort->float conversion) introduces errors.
Only GLushort depth buffers work for now...
src/mesa/drivers/x11/xm_surface.c
src/mesa/pipe/softpipe/sp_quad_depth_test.c
src/mesa/pipe/softpipe/sp_surface.h