diff options
author | Anuj Phogat <[email protected]> | 2017-11-21 13:46:25 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2018-03-22 09:56:09 -0700 |
commit | 1065acfb692fa8c62459ba258191eefec445ac8c (patch) | |
tree | 1551455de8fb9fc94f34635c8a303c8840bff87d /src/mesa/drivers | |
parent | d2eecf0b0b24d203d0f171807681dffd830d54de (diff) |
intel: Disable fast color clear on icl
Disabling fast color clear makes fbo-clearmipmap test render correct
texture in base miplevel. Fast color clear is anyways disabled for
non-base miplevels.
Acked-by: Matt Turner <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c index 72578b6ea5c..a9c6dc4d501 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.c +++ b/src/mesa/drivers/dri/i965/brw_blorp.c @@ -1228,6 +1228,11 @@ do_single_blorp_clear(struct brw_context *brw, struct gl_framebuffer *fb, } } + /* FINISHME: Debug and enable fast clears */ + const struct gen_device_info *devinfo = &brw->screen->devinfo; + if (devinfo->gen >= 11) + can_fast_clear = false; + if (can_fast_clear) { const enum isl_aux_state aux_state = intel_miptree_get_aux_state(irb->mt, irb->mt_level, irb->mt_layer); |