radeonsi: use composed swizzle in cdna_emu_make_image_descriptor
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Otherwise the state swizzle is ignored.

Fixes: 139bc6b813 ("radeonsi: use common build buffer descriptor helpers")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34241>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2025-03-28 11:14:04 +01:00
parent a4105365e4
commit 7e2c3be454

View file

@ -3752,10 +3752,10 @@ static void cdna_emu_make_image_descriptor(struct si_screen *screen, struct si_t
.format = pipe_format,
.swizzle =
{
desc->swizzle[0],
desc->swizzle[1],
desc->swizzle[2],
desc->swizzle[3],
swizzle[0],
swizzle[1],
swizzle[2],
swizzle[3],
},
.stride = stride,
.gfx10_oob_select = V_008F0C_OOB_SELECT_STRUCTURED_WITH_OFFSET,