anv: Remove alignment to aux ratio on size of main surface
authorZhang, Jianxun <jianxun.zhang@intel.com>
Tue, 16 May 2023 21:31:05 +0000 (14:31 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Jun 2023 16:50:32 +0000 (16:50 +0000)
commitec9efee907049a2810c009ffe42355448a0d0b6f
treeb2eb199a6517efd42eee8a84d628b0083b32cb42
parentd2b6f16145dfb0cfcd4fb03831d43b94e37ce820
anv: Remove alignment to aux ratio on size of main surface

The existing 4KB alignment is sufficient for both 1MB and
64KB alignment requirements of CCS buffer.

Signed-off-by: Zhang, Jianxun <jianxun.zhang@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23002>
src/intel/vulkan/anv_allocator.c