mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 20:24:30 +08:00
amd/common: fix a typo
Fixes: 35f053ba8c
("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>
This commit is contained in:
parent
deb537de3c
commit
19b89c8077
@ -3051,7 +3051,7 @@ ac_surface_addr_from_coord(struct ac_addrlib *addrlib, const struct radeon_info
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user