if (inst->dst.file != QFILE_TEMP)
return false;
- if (inst->src[0].file != QFILE_TEMP &&
- inst->src[0].file != QFILE_UNIF) {
+ if (inst->src[0].file != QFILE_TEMP)
return false;
- }
if (inst->qpu.alu.add.output_pack != V3D_QPU_PACK_NONE ||
inst->qpu.alu.mul.output_pack != V3D_QPU_PACK_NONE) {
/* No composing the unpacks. */
if (vir_has_unpack(inst, i))
- continue;
+ continue;
/* these ops can't represent abs. */
if (mov->qpu.alu.mul.a_unpack == V3D_QPU_UNPACK_ABS) {