summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-05-04 09:16:58 -0700
committerRob Clark <[email protected]>2019-05-04 11:50:44 -0700
commit2da36dd0b63268dec17e4b3ddc35da7c831ce6b1 (patch)
tree8b43e6d26598804f037e2719743bdead2d5780cb
parent555ca49d2b2a4b521e9d890ed63875008fa14268 (diff)
freedreno/a6xx: deduplicate a few lines
Signed-off-by: Rob Clark <[email protected]>
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_gmem.c6
1 files changed, 0 insertions, 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
@@ -102,12 +102,6 @@ emit_mrt(struct fd_ringbuffer *ring, struct pipe_framebuffer_state *pfb,
else
tile_mode = rsc->tile_mode;
- if (rsc->tile_mode &&
- fd_resource_level_linear(psurf->texture, psurf->u.tex.level))
- tile_mode = TILE6_LINEAR;
- else
- tile_mode = rsc->tile_mode;
-
debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer);
debug_assert((offset + slice->size0) <= fd_bo_size(rsc->bo));