agx: Fix packing of extension for block image stores

Probably impossible to hit in practice but let's get it right. Found when
forcing RA to use the upper half of the reg file.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365>
This commit is contained in:
Alyssa Rosenzweig 2022-12-03 21:19:22 -05:00 committed by Marge Bot
parent ef23bbfdbd
commit eba2b182c8

View file

@ -706,7 +706,7 @@ agx_pack_instr(struct util_dynarray *emission, struct util_dynarray *fixups, agx
(T & BITFIELD_MASK(6)) |
(Tt << 2) |
(unk2 << 9) |
((R >> 6) << 28);
((R >> 6) << 24);
uint32_t word2 =
(F >> 1) |