[Mesa-dev] [PATCH 08/11] intel: Disable fast color clear on icl

Kenneth Graunke kenneth at whitecape.org
Wed Mar 21 21:52:15 UTC 2018


On Wednesday, March 21, 2018 2:06:19 PM PDT Matt Turner wrote:
> From: Anuj Phogat <anuj.phogat at gmail.com>
> 
> Disabling fast color clear makes fbo-clearmipmap test render correct
> texture in base miplevel. Fast color clear is anyways disabled for
> non-base miplevels.
> ---
>  src/mesa/drivers/dri/i965/brw_blorp.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c
> index 72578b6ea5c..bee8e409897 100644
> --- a/src/mesa/drivers/dri/i965/brw_blorp.c
> +++ b/src/mesa/drivers/dri/i965/brw_blorp.c
> @@ -1228,6 +1228,10 @@ do_single_blorp_clear(struct brw_context *brw, struct gl_framebuffer *fb,
>        }
>     }
>  
> +   /* FINISHME: Debug and enable fast clears */
> +   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);
> 

Not very enthused about this, it's fine if we need to do this for now,
but we should at least make sure we're tracking the task somewhere.

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180321/43b996a9/attachment.sig>


More information about the mesa-dev mailing list