radv: remove radeon_surf_level::pitch_bytes
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 10 May 2017 20:14:39 +0000 (22:14 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 00:43:53 +0000 (10:43 +1000)
commit59f72e158aa0349085ef25900eb1651aa67ec67f
tree9968d595d364f3c519714e18f611308281eb755f
parenta12d288bff2277c9343fa22dd138f49447a8e258
radv: remove radeon_surf_level::pitch_bytes

Like radeonsi. This saves memory, and the information can easily be
recomputed on the fly where necessary.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_radeon_winsys.h
src/amd/vulkan/radv_wsi.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c