ac/surface: make sure alignment is a POT
authorRohan Garg <rohan@garg.io>
Tue, 20 Dec 2022 15:19:24 +0000 (16:19 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 25 May 2023 21:24:45 +0000 (21:24 +0000)
commitc2d0662eb8ab2cec147da4b437a1a52820315587
treeb5b386ba7f55418dc8543ebdba2c968235f136b9
parent14dec0c1479aa149edead1e95b7feb1669ccc4c1
ac/surface: make sure alignment is a POT

Signed-off-by: Rohan Garg <rohan@garg.io>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20153>
src/amd/common/ac_surface.c