pan/midgard: Use generic constant packing for 8/64-bit
Eventually, we will want to combine constants across types, but for now let's not break the world. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
4c182a6d11
commit
ea232c7cfd
|
@ -369,7 +369,7 @@ mir_adjust_constants(midgard_instruction *ins,
|
|||
if (!ins->has_constants)
|
||||
return true;
|
||||
|
||||
if (ins->alu.reg_mode == midgard_reg_mode_16) {
|
||||
if (ins->alu.reg_mode != midgard_reg_mode_32) {
|
||||
/* TODO: 16-bit constant combining */
|
||||
if (pred->constant_count)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue