Skip to content

freedreno: Make the slice pitch be bytes, not pixels.

Emma Anholt requested to merge anholt/mesa:fd-pitch-bytes into master

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.

Merge request reports

Loading