llvmpipe: fix depth+stencil logic error
authorBrian Paul <brianp@vmware.com>
Tue, 20 Apr 2010 19:50:59 +0000 (13:50 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Apr 2010 19:51:52 +0000 (13:51 -0600)
commitcaa05ef41996f7d0ac6b77f2fe86b1771cb10e43
tree6f3523effdbcb44148fc572bc63a7719df69c48d
parent48f54ecb0cc276ab7655b93419e73c8b4e5656ae
llvmpipe: fix depth+stencil logic error

If both Z-test and stencil-test were enabled, we were mis-computing
the vector of updated Z buffer values.
Fixes Z testing bug in progs/demos/fbotexture.c
src/gallium/drivers/llvmpipe/lp_bld_depth.c