summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2018-04-18 14:55:25 -0400
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2018-04-18 22:36:28 -0400
commit4d20b65841852d056fcd479d9f2b9c2335dad533 (patch)
treeea360842d34c26bc82e96c6589899b621dadca56
parentb5194638dbb9092313a91c0f47d3f12680f24b82 (diff)
disable blorp clears
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/brw_clear.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c
index 487de9b899..aa882c9352 100644
--- a/src/mesa/drivers/dri/i965/brw_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_clear.c
@@ -315,12 +315,14 @@ brw_clear(struct gl_context *ctx, GLbitfield mask)
mt->stencil_mt->r8stencil_needs_update = true;
}
+#if 0
if (mask & BUFFER_BITS_COLOR) {
brw_blorp_clear_color(brw, fb, mask, partial_clear,
ctx->Color.sRGBEnabled);
debug_mask("blorp color", mask & BUFFER_BITS_COLOR);
mask &= ~BUFFER_BITS_COLOR;
}
+#endif
if (devinfo->gen >= 6 && (mask & BUFFER_BITS_DEPTH_STENCIL)) {
brw_blorp_clear_depth_stencil(brw, fb, mask, partial_clear);
@@ -328,7 +330,8 @@ brw_clear(struct gl_context *ctx, GLbitfield mask)
mask &= ~BUFFER_BITS_DEPTH_STENCIL;
}
- GLbitfield tri_mask = mask & (BUFFER_BIT_STENCIL |
+ GLbitfield tri_mask = mask & (BUFFER_BITS_COLOR |
+ BUFFER_BIT_STENCIL |
BUFFER_BIT_DEPTH);
if (tri_mask) {