mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
aco: Don't accept constants on p_bpermute.
The sequence emitted for this pseudo instruction is not ready to handle constants or literals at all. Cc: mesa-stable Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20293>
This commit is contained in:
parent
27b70f28d9
commit
614348f28b
1 changed files with 1 additions and 0 deletions
|
|
@ -673,6 +673,7 @@ alu_can_accept_constant(aco_opcode opcode, unsigned operand)
|
|||
case aco_opcode::v_readfirstlane_b32:
|
||||
case aco_opcode::p_extract:
|
||||
case aco_opcode::p_insert: return operand != 0;
|
||||
case aco_opcode::p_bpermute:
|
||||
case aco_opcode::p_interp_gfx11:
|
||||
case aco_opcode::p_dual_src_export_gfx11: return false;
|
||||
default: return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue