v3d: Add missing macro for stvpmd instruction
[mesa.git] / src / broadcom / compiler / vir_opt_copy_propagate.c
index 70ecfb9463628a9464bc9cca2009522b66daab32..c5bb61121733a813fc334e13e84ebf9838417574 100644 (file)
@@ -49,10 +49,8 @@ is_copy_mov(struct qinst *inst)
         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) {