freedreno: Make the slice pitch be bytes, not pixels.
authorEric Anholt <eric@anholt.net>
Tue, 14 Apr 2020 18:14:31 +0000 (11:14 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 16:37:50 +0000 (16:37 +0000)
Back in a2xx, HW pitches were in pixels, so storing that was reasonable.
Ever since then, the HW wants pitches in bytes, and we have only one
instance of using pitch in pixels in the code (a3xx sysmem path).

Flip things around so that only a2xx has to worry about the cpp for
looking at pitches.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4558>


No differences found