i965: Add support for mapping Z32_FLOAT_X24S8 fake packed depth/stencil.
authorEric Anholt <eric@anholt.net>
Sat, 3 Dec 2011 00:00:10 +0000 (16:00 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 19 Dec 2011 21:20:11 +0000 (13:20 -0800)
commit353f7ba4abbfd15d1e4e4b7a38f88e64ce85f6a2
tree8937c4d9c1b7ba2acfdf90b0dddf19d1d5bea135
parent0c498467104e361e50bbb95adf2b2c0e799591dc
i965: Add support for mapping Z32_FLOAT_X24S8 fake packed depth/stencil.

The format handling here is tricky, because we're not actually
generating a Z32_FLOAT_X24S8 miptree, so we're guessing the format
that GL wants based on seeing Z32_FLOAT with a separate stencil.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c