aco: mask bits source of s_bfe
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 6 Jun 2023 09:55:16 +0000 (10:55 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Thu, 8 Jun 2023 10:54:17 +0000 (11:54 +0100)
commit08064a55424c54a7ccf506d46840811f7234e040
tree5e7195a39c61dd776ab3334c9a6bd165169f3096
parent4a2e62844b45e31b05274ec8d06204ad8221437d
aco: mask bits source of s_bfe

The s_bfe instructions use 7 bits, not 5 like the NIR opcode requires.

No fossil-db changes (navi21).

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9162
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23464>
src/amd/compiler/aco_instruction_selection.cpp