Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com>

On 2018-09-11 09:15:38, Jason Ekstrand wrote:
> Cc: mesa-sta...@lists.freedesktop.org
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107892
> ---
>  src/mesa/drivers/dri/i965/brw_meta_util.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_meta_util.c 
> b/src/mesa/drivers/dri/i965/brw_meta_util.c
> index 908b0989769..6714d96237c 100644
> --- a/src/mesa/drivers/dri/i965/brw_meta_util.c
> +++ b/src/mesa/drivers/dri/i965/brw_meta_util.c
> @@ -247,6 +247,9 @@ brw_meta_mirror_clip_and_scissor(const struct gl_context 
> *ctx,
>                      clip_src_y1, clip_dst_y1, clip_dst_y0,
>                      scaleY, false);
>  
> +   if (*dstX0 == *dstX1 || *dstY0 == *dstY1)
> +      return true;
> +
>     /* Account for the fact that in the system framebuffer, the origin is at
>      * the lower left.
>      */
> -- 
> 2.17.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to