softpipe: fastpath for interpolated z16 less depthtesting
authorKeith Whitwell <keithw@vmware.com>
Mon, 27 Jul 2009 11:11:16 +0000 (12:11 +0100)
committerKeith Whitwell <keithw@vmware.com>
Mon, 27 Jul 2009 11:11:16 +0000 (12:11 +0100)
commitc61145820556833dccd728eb6df3397bec7f70da
treeec5983fd9a90a5c62d4c2da9fb1180dc81dc6c66
parent1078844d18367b4259cd3b6a3a73e3cd72ea019f
softpipe: fastpath for interpolated z16 less depthtesting

Because this is interpolated (ie. early) depth, we can build in an
assumption about the quads emitted by triangle setup, ie that they
are actually linear spans.  Interpolate z over those spans in z16
format to save on math & conversion.
src/gallium/drivers/softpipe/sp_quad_depth_test.c