st/mesa: prefer formats without stencil for DEPTH_COMPONENT
authorBrian Paul <brianp@vmware.com>
Tue, 24 May 2011 14:59:09 +0000 (08:59 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 24 May 2011 15:00:17 +0000 (09:00 -0600)
commitcd5417aac72ae1de85dd6bca3d53d2e2f2d7e546
treee7138dae075f891f3b3b6e9a113c8b03806cac0d
parentd57e95f22af1a1b2d9013db7a15524717bd29579
st/mesa: prefer formats without stencil for DEPTH_COMPONENT

for fast Z clears to be used more often.

Original patch by Marek Olšák.  Rebased to table-driven st_choose_format()
by Brian Paul.
src/mesa/state_tracker/st_format.c