mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
agx: Fix packing of samplers in texture instrs
Typo in the handwritten packing code, oof!
Fixes incorrectly repeated shadows in Neverball (among many other bugs,
I assume). Huge thanks to Lina for the idea that this was the
bug -- fixing it was a breeze from there :-)
Fixes: 9f55538834 ("agx: Pack texture ops")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Suggested-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17198>
This commit is contained in:
parent
9bd32fb33a
commit
47a3f1226c
1 changed files with 1 additions and 1 deletions
|
|
@ -597,7 +597,7 @@ agx_pack_instr(struct util_dynarray *emission, struct util_dynarray *fixups, agx
|
|||
(((uint64_t) q3) << 43) |
|
||||
(((uint64_t) I->mask) << 48) |
|
||||
(((uint64_t) I->lod_mode) << 52) |
|
||||
(((uint64_t) (S & BITFIELD_MASK(6))) << 32) |
|
||||
(((uint64_t) (S & BITFIELD_MASK(6))) << 56) |
|
||||
(((uint64_t) St) << 62) |
|
||||
(((uint64_t) q5) << 63);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue