OSDN Git Service

r300g: allow separate depth and stencil clear
authorMarek Olšák <maraeo@gmail.com>
Sat, 12 Jan 2013 12:59:48 +0000 (13:59 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 14 Jan 2013 02:11:43 +0000 (03:11 +0100)
commit5fc83101fbb9b7dd0d7f0b91a9b1c1c1bc0250b6
tree6f30a48c6808ef64396e1dba418daf0e661dcadc
parente93a5c2b861087d512ac15a56bb5ff808ae13a41
r300g: allow separate depth and stencil clear

The handling of the CAP is broken in st/mesa anyway. Let's just kill it.

This commit pretty much enables fast Z clear for FBOs with Z24S8.
The driver falls back to clearing with a quad if the fast clear cannot be
used. It can still do fast color clear, for example.
src/gallium/drivers/r300/r300_screen.c