llvmpipe: Unbreak Z32_FLOAT.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 13 Oct 2010 13:28:51 +0000 (14:28 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 13 Oct 2010 14:25:15 +0000 (15:25 +0100)
commit95c18abb03b035c6fa029cd0852f07fb39951279
tree04f0217e693b6ce202cc10e6bdeff78bace20f36
parentf9995b30756140724f41daf963fa06167912be7f
llvmpipe: Unbreak Z32_FLOAT.

Z32_FLOAT uses <4 x float> as intermediate/destination type,
instead of <4 x i32>.

The necessary bitcasts got removed with commit
5b7eb868fde98388d80601d8dea39e679828f42f

Also use depth/stencil type and build contexts consistently, and
make the depth pointer argument a ordinary <i8 *>, to catch this
sort of issues in the future (and also to pave way for Z16 and
Z32_FLOAT_S8_X24 support).
src/gallium/drivers/llvmpipe/lp_bld_depth.c
src/gallium/drivers/llvmpipe/lp_bld_depth.h
src/gallium/drivers/llvmpipe/lp_state_fs.c