mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 05:00:09 +01:00
aco/optimizer: reduce max alu_opt_info stack operands to 4
ALU instructions typically have a maximum of 3 operands, and even when combining instructions, the peak count will not go above 4. Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38150>
This commit is contained in:
parent
4da74eed96
commit
fa66b670d4
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ struct alu_opt_op {
|
|||
|
||||
struct alu_opt_info {
|
||||
aco::small_vec<Definition, 2> defs;
|
||||
aco::small_vec<alu_opt_op, 5> operands;
|
||||
aco::small_vec<alu_opt_op, 4> operands;
|
||||
aco_opcode opcode;
|
||||
Format format;
|
||||
uint32_t imm;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue