On Thu, Dec 01, 2016 at 02:10:02PM -0800, Ben Widawsky wrote:
> From: Ben Widawsky <[email protected]>
> 
> Cc: Ville Syrjälä <[email protected]>
> Cc: Jason Ekstrand <[email protected]>
> Signed-off-by: Ben Widawsky <[email protected]>
> ---
>  src/mesa/drivers/dri/i965/intel_screen.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/intel_screen.c 
> b/src/mesa/drivers/dri/i965/intel_screen.c
> index f40761a..7ee21ee 100644
> --- a/src/mesa/drivers/dri/i965/intel_screen.c
> +++ b/src/mesa/drivers/dri/i965/intel_screen.c
> @@ -961,7 +961,7 @@ intel_from_planar(__DRIimage *parent, int plane, void 
> *loaderPrivate)
>      if (parent == NULL || parent->planar_format == NULL) {
>         if (is_aux) {
>            offset = parent->aux_offset;
> -          stride = ALIGN(parent->pitch / 32, 128);

I think the commit message should go as a comment here?

> +          stride = ALIGN(parent->pitch / 64, 128);
>            dri_format = parent->dri_format;
>            goto done;
>         }
> -- 
> 2.10.2
> 
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to