freedreno/ir3/ra: fix pre-color edge case
Fixes a case where you have something like:
aVecOutput.z = aScalarInput;
In particular, skipping over things that are not the first component is wrong.. in the above case the input we need to precolor is the 3rd component. But we need to adjust the target register according to the offset. And also should_assign() needs to be aware of scalar inputs that are collected into a vecN.
Fixes android.hardware.nativehardware.cts.AHardwareBufferNativeTests
Signed-off-by: Rob Clark robdclark@chromium.org