freedreno: drop dead assignment

width0 was introduced in e11a239e8c

Its use was dropped in 979e7e3680

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14500>
This commit is contained in:
Thomas H.P. Andersen 2022-01-11 21:45:30 +01:00 committed by Marge Bot
parent d71c6eebe2
commit 315d6ee66f
1 changed files with 0 additions and 4 deletions

View File

@ -31,10 +31,6 @@ setup_slices(struct fd_resource *rsc, uint32_t alignment,
{
struct pipe_resource *prsc = &rsc->b.b;
uint32_t level, size = 0;
uint32_t width0 = prsc->width0;
if (rsc->layout.tile_mode && prsc->target != PIPE_TEXTURE_CUBE)
width0 = util_next_power_of_two(width0);
/* 32 pixel alignment */
fdl_set_pitchalign(&rsc->layout, fdl_cpp_shift(&rsc->layout) + 5);