diff options
author | Dave Airlie <[email protected]> | 2017-05-02 10:12:51 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-05-03 06:00:42 +1000 |
commit | fe6d9c0825fafa4f0279651b7b38fae6d725b69f (patch) | |
tree | f398027737dd3b04e47ad02fc24729dcaeed714c /src/amd/vulkan/winsys | |
parent | 5d0f792f067585edb6496bc4deec6af3875835e3 (diff) |
radv: drop unused surface level members.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys')
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c index 2cbf929514c..c972ef110e7 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c @@ -204,9 +204,6 @@ static int radv_compute_level(ADDR_HANDLE addrlib, surf_level->offset = align64(surf->bo_size, AddrSurfInfoOut->baseAlign); surf_level->slice_size = AddrSurfInfoOut->sliceSize; surf_level->pitch_bytes = AddrSurfInfoOut->pitch * (is_stencil ? 1 : surf->bpe); - surf_level->npix_x = u_minify(surf_info->width, level); - surf_level->npix_y = u_minify(surf_info->height, level); - surf_level->npix_z = u_minify(surf_info->depth, level); surf_level->nblk_x = AddrSurfInfoOut->pitch; surf_level->nblk_y = AddrSurfInfoOut->height; if (type == RADEON_SURF_TYPE_3D) |