mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 18:38:11 +02:00
radeonsi: use composed swizzle in cdna_emu_make_image_descriptor
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:
parent
a4105365e4
commit
7e2c3be454
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue