ac/surface: move cmask_size/alignment into radeon_surf
authorMarek Olšák <marek.olsak@amd.com>
Fri, 22 Jun 2018 02:50:51 +0000 (22:50 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 25 Jun 2018 22:33:58 +0000 (18:33 -0400)
commit3da693b7d98782437c25b1f6c2d0efb3a398246b
tree34ee4de05b7c3693d646e4651b941beb982d4853
parent2d64a68c6f38b6dab8f0d2b8968e009c25bcc9f5
ac/surface: move cmask_size/alignment into radeon_surf

cmask_size is changed to uint32_t because it can't be greater than 4GB.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_image.c
src/gallium/drivers/radeonsi/si_texture.c