vc4: No turning unpack arguments into small immediates.

Since unpack only happens on things read from the A register file, we have
to leave them as something that can be allocated to A (temp or uniform).
This commit is contained in:
Eric Anholt
2015-01-12 09:14:41 +13:00
parent 772c47aefe
commit 0289a26201
@@ -79,6 +79,9 @@ qir_opt_small_immediates(struct vc4_compile *c)
continue;
}
if (qir_src_needs_a_file(inst))
continue;
uint32_t imm = c->uniform_data[src.index];
uint32_t small_imm = qpu_encode_small_immediate(imm);
if (small_imm == ~0)