llvmpipe: fastpath for interpolated z16 less depthtesting
authorKeith Whitwell <keithw@vmware.com>
Mon, 27 Jul 2009 11:11:16 +0000 (12:11 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 29 Aug 2009 08:21:21 +0000 (09:21 +0100)
commitfa3514a57eeb093f38f163af7d3c03e182fc554e
treedbad5d56738403ba47f6091150b60391e6c7a0e7
parent38a1479fe137b9bed3bdd1078b24f844c3af4863
llvmpipe: 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/llvmpipe/lp_quad_depth_test.c