From 2da36dd0b63268dec17e4b3ddc35da7c831ce6b1 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 4 May 2019 09:16:58 -0700 Subject: [PATCH] freedreno/a6xx: deduplicate a few lines Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/a6xx/fd6_gmem.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c index e9b12812f46..a00e4446333 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c @@ -96,12 +96,6 @@ emit_mrt(struct fd_ringbuffer *ring, struct pipe_framebuffer_state *pfb, stride = slice->pitch * rsc->cpp * pfb->samples; swap = rsc->tile_mode ? WZYX : fd6_pipe2swap(pformat); - if (rsc->tile_mode && - fd_resource_level_linear(psurf->texture, psurf->u.tex.level)) - tile_mode = TILE6_LINEAR; - else - tile_mode = rsc->tile_mode; - if (rsc->tile_mode && fd_resource_level_linear(psurf->texture, psurf->u.tex.level)) tile_mode = TILE6_LINEAR; -- 2.30.2