freedreno: pitch alignment should match gmem alignment
authorRob Clark <robdclark@gmail.com>
Sat, 3 Dec 2016 17:34:10 +0000 (12:34 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 6 Dec 2016 23:01:31 +0000 (18:01 -0500)
commitc1e9cca6965cb0b7dcb6fa14b08f42e98b25b322
treec21c7a8c9d66f404d1bc540fbb354930cbea85fa
parent8f4da2ff63edc814d9d84a4f667cc68549cc3511
freedreno: pitch alignment should match gmem alignment

Deal w/ differing gmem tile size alignment between generations, and make
sure texture pitch matches.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/freedreno_screen.h