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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user