mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radv: drop unused surface level members.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
5d0f792f06
commit
fe6d9c0825
2 changed files with 0 additions and 6 deletions
|
|
@ -167,9 +167,6 @@ struct radeon_surf_info {
|
|||
struct radeon_surf_level {
|
||||
uint64_t offset;
|
||||
uint64_t slice_size;
|
||||
uint32_t npix_x;
|
||||
uint32_t npix_y;
|
||||
uint32_t npix_z;
|
||||
uint32_t nblk_x;
|
||||
uint32_t nblk_y;
|
||||
uint32_t nblk_z;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue