On Wednesday, March 21, 2018 2:06:19 PM PDT Matt Turner wrote:
> From: Anuj Phogat <anuj.pho...@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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to