[Mesa-dev] [PATCH] isl: Fix height calculation in isl_msaa_interleaved_scale_px_to_sa
Jason Ekstrand
jason at jlekstrand.net
Tue Nov 15 19:33:21 UTC 2016
Oops... Please back-port. Rb
On Nov 15, 2016 11:20 AM, "Jordan Justen" <jordan.l.justen at intel.com> wrote:
> No known fixed tests, but it looks like a typo from:
>
> commit 8ac99eabb6570f0f3c5f7d7da1332a99ce636362
>
> intel/isl: Add a helper for getting the size of an interleaved pixel
>
> Cc: Jason Ekstrand <jason at jlekstrand.net>
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
> src/intel/isl/isl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
> index 7831c5e..32463b1 100644
> --- a/src/intel/isl/isl.c
> +++ b/src/intel/isl/isl.c
> @@ -339,7 +339,7 @@ isl_msaa_interleaved_scale_px_to_sa(uint32_t samples,
> if (width)
> *width = isl_align(*width, 2) * px_size_sa.width;
> if (height)
> - *height = isl_align(*height, 2) * px_size_sa.width;
> + *height = isl_align(*height, 2) * px_size_sa.height;
> }
>
> static enum isl_array_pitch_span
> --
> 2.10.2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161115/f2443d86/attachment.html>
More information about the mesa-dev
mailing list