Fixes:
35f053ba8cd ("radv: Fix corrupted mipmap copies on GFX9+")
Signed-off-by: Lang Yu <lang.yu@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22000>
assert(info->gfx_level >= GFX9);
ADDR2_COMPUTE_SURFACE_ADDRFROMCOORD_INPUT input = {0};
- input.size = sizeof(ADDR_COMPUTE_SURFACE_ADDRFROMCOORD_INPUT);
+ input.size = sizeof(ADDR2_COMPUTE_SURFACE_ADDRFROMCOORD_INPUT);
input.slice = layer;
input.mipId = level;
input.unalignedWidth = DIV_ROUND_UP(surf_info->width, surf->blk_w);