diff options
Diffstat (limited to 'src/gallium/winsys/radeon')
-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; |