i965: Enable fast depth clears.

They work fine now, too.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke
2014-02-07 14:02:36 -08:00
parent 7023786417
commit 98e048cf32
+1 -1
View File
@@ -111,7 +111,7 @@ brw_fast_clear_depth(struct gl_context *ctx)
struct intel_mipmap_tree *mt = depth_irb->mt;
struct gl_renderbuffer_attachment *depth_att = &fb->Attachment[BUFFER_DEPTH];
if (brw->gen < 6 || brw->gen >= 8)
if (brw->gen < 6)
return false;
if (!intel_renderbuffer_has_hiz(depth_irb))