diff options
author | Marek Olšák <[email protected]> | 2018-04-30 22:35:51 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-10 18:26:33 -0400 |
commit | bdc3e410f75d6fd2a3e979447fd5ab69512fd724 (patch) | |
tree | c3965c5e0af3b5ec1b3b95d2a8a7f011d7e2c9d8 /src/gallium/winsys/radeon/drm | |
parent | 9bf3570fed064cfc5a863fa4bd4802f11b1030f5 (diff) |
ac/surface: unify common legacy and gfx9 fmask fields
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_surface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c index 58114888966..61220ed7fe3 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c @@ -277,9 +277,9 @@ static int radeon_winsys_surface_init(struct radeon_winsys *rws, assert(fmask.u.legacy.level[0].mode == RADEON_SURF_MODE_2D); - surf_ws->u.legacy.fmask.size = fmask.surf_size; - surf_ws->u.legacy.fmask.alignment = MAX2(256, fmask.surf_alignment); - surf_ws->u.legacy.fmask.tile_swizzle = fmask.tile_swizzle; + surf_ws->fmask_size = fmask.surf_size; + surf_ws->fmask_alignment = MAX2(256, fmask.surf_alignment); + surf_ws->fmask_tile_swizzle = fmask.tile_swizzle; surf_ws->u.legacy.fmask.slice_tile_max = (fmask.u.legacy.level[0].nblk_x * fmask.u.legacy.level[0].nblk_y) / 64; |