summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_clear.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-11-29 13:35:15 -0800
committerKenneth Graunke <kenneth@whitecape.org>2013-11-21 00:26:11 -0800
commit36c3faf4bf41d6618a3b0fcd565f4907a1633a40 (patch)
tree73eed9d5bb6763f9d7959eec273a56bae69a4f3e /src/mesa/drivers/dri/i965/brw_clear.c
parent01ae16a0e7d95f408016ff5b07bc647ad5608841 (diff)
downloadexternal_mesa3d-36c3faf4bf41d6618a3b0fcd565f4907a1633a40.zip
external_mesa3d-36c3faf4bf41d6618a3b0fcd565f4907a1633a40.tar.gz
external_mesa3d-36c3faf4bf41d6618a3b0fcd565f4907a1633a40.tar.bz2
i965: Disable BLORP on Broadwell for now.
BLORP is essential. However, porting it to Gen8 is a huge amount of work. Disabling it for now allows us to proceed with basic hardware enablement. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clear.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c
index a727e6e..d94e259 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)
+ if (brw->gen < 6 || brw->gen >= 8)
return false;
if (!intel_renderbuffer_has_hiz(depth_irb))
@@ -230,7 +230,7 @@ brw_clear(struct gl_context *ctx, GLbitfield mask)
}
/* BLORP is currently only supported on Gen6+. */
- if (brw->gen >= 6) {
+ if (brw->gen >= 6 && brw->gen < 8) {
if (mask & BUFFER_BITS_COLOR) {
if (brw_blorp_clear_color(brw, fb, partial_clear)) {
debug_mask("blorp color", mask & BUFFER_BITS_COLOR);