diff options
author | Marek Olšák <[email protected]> | 2016-10-23 16:09:58 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-10-26 13:02:58 +0200 |
commit | 7e73ff87c0255a8e0498a47991b640cdece35928 (patch) | |
tree | 608d93549bb475029017da6ce7bcf06518f4ab31 /src/gallium/winsys/radeon | |
parent | d5c7ea3b83168d8fd77ed4bd834901209e1d47da (diff) |
gallium/radeon: remove unnecessary fields from radeon_surf_level
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_surface.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c index 18c68a50ff7..ed614064ce8 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c @@ -71,12 +71,8 @@ static void surf_level_winsys_to_drm(struct radeon_surface_level *level_drm, { level_drm->offset = level_ws->offset; level_drm->slice_size = level_ws->slice_size; - level_drm->npix_x = level_ws->npix_x; - level_drm->npix_y = level_ws->npix_y; - level_drm->npix_z = level_ws->npix_z; level_drm->nblk_x = level_ws->nblk_x; level_drm->nblk_y = level_ws->nblk_y; - level_drm->nblk_z = level_ws->nblk_z; level_drm->pitch_bytes = level_ws->pitch_bytes; level_drm->mode = level_ws->mode; } @@ -86,12 +82,8 @@ static void surf_level_drm_to_winsys(struct radeon_surf_level *level_ws, { level_ws->offset = level_drm->offset; level_ws->slice_size = level_drm->slice_size; - level_ws->npix_x = level_drm->npix_x; - level_ws->npix_y = level_drm->npix_y; - level_ws->npix_z = level_drm->npix_z; level_ws->nblk_x = level_drm->nblk_x; level_ws->nblk_y = level_drm->nblk_y; - level_ws->nblk_z = level_drm->nblk_z; level_ws->pitch_bytes = level_drm->pitch_bytes; level_ws->mode = level_drm->mode; } |