swr: [rasterizer core] Quantize depth to depth buffer precision prior to depth test...
authorTim Rowley <timothy.o.rowley@intel.com>
Fri, 25 Mar 2016 23:24:45 +0000 (17:24 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 12 Apr 2016 16:52:05 +0000 (11:52 -0500)
commite1871c4459bbd291e6356e971c6aa2becf4ecb96
tree9a4e2feb7566248009b6cd1b41396da1ace03d0d
parent2a19aca05fab2b7904b7187f85b2e421254a37e6
swr: [rasterizer core] Quantize depth to depth buffer precision prior to depth test/write.

Fixes z-fighting issues.

Acked-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/core/backend.cpp
src/gallium/drivers/swr/rasterizer/core/context.h
src/gallium/drivers/swr/rasterizer/core/depthstencil.h
src/gallium/drivers/swr/rasterizer/core/state.h