freedreno: drop dead assignment
width0 was introduced ine11a239e8c
Its use was dropped in979e7e3680
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14500>
This commit is contained in:
parent
d71c6eebe2
commit
315d6ee66f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue