i915g: hw can't fastclear both depth and color when bbp doesn't match
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 25 Sep 2011 16:14:16 +0000 (18:14 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Oct 2011 12:31:17 +0000 (14:31 +0200)
commit661b7ef9a89b8f5a10cb8ca8a23365bce1f1cbc5
treeddaaffba629e06e4d4630670cc325de74d3b75a8
parent0a6131b15c874c076781a8dc347b4e51be15801a
i915g: hw can't fastclear both depth and color when bbp doesn't match

Do it in two passes in that case.

v2: Don't forget to handle stencil clears.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_clear.c