mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
isl: Fix height calculation in isl_msaa_interleaved_scale_px_to_sa
No known fixed tests, but it looks like a typo from: commit8ac99eabb6intel/isl: Add a helper for getting the size of an interleaved pixel Cc: "13.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit0ac57afa6f)
This commit is contained in:
parent
607cac69f8
commit
154cb64721
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue