ac: change legacy_surf_level::slice_size to dword units
authorMarek Olšák <marek.olsak@amd.com>
Tue, 14 Nov 2017 18:31:39 +0000 (19:31 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 27 Nov 2017 13:44:04 +0000 (14:44 +0100)
commitec15ff78c3ed4a2b39a45ecf74292090fdc99c6e
tree402ff736cdafe380b67414ffa659d34e2257ab7b
parent474b4a919181a155187446ca0e0c0b3522fbdee2
ac: change legacy_surf_level::slice_size to dword units

The next commit will reduce the size even more.

v2: typecast to uint64_t manually
v3: add more typecasts, add asserts

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
12 files changed:
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_image.c
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/drivers/r600/radeon_uvd.c
src/gallium/drivers/radeon/r600_texture.c
src/gallium/drivers/radeon/radeon_uvd.c
src/gallium/drivers/radeonsi/cik_sdma.c
src/gallium/drivers/radeonsi/si_dma.c
src/gallium/winsys/radeon/drm/radeon_drm_surface.c