diff options
author | Kenneth Graunke <[email protected]> | 2014-02-07 14:02:36 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-19 01:46:17 -0800 |
commit | 98e048cf323c22688bfa465153e648005e555d12 (patch) | |
tree | d688728d201ae7bd81412955c04c593629909fca | |
parent | 7023786417d8ecf9ea8236d17c739af087ac05be (diff) |
i965: Enable fast depth clears.
They work fine now, too.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clear.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index d9a879239ec..b2cea98dbd6 100644 --- a/src/mesa/drivers/dri/i965/brw_clear.c +++ b/src/mesa/drivers/dri/i965/brw_clear.c @@ -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)) |