broadcom/vc5: Don't emit component 3/4 F16 TLB writes for float/vec2.

Fixes a simulator assertion failure on
dEQP-GLES3.functional.fragment_out.array.fixed.r8_highp_float.
This commit is contained in:
Eric Anholt 2017-12-28 15:29:04 -08:00
parent deb552ca27
commit 635131a238

View file

@ -1214,7 +1214,8 @@ emit_frag_end(struct v3d_compile *c)
vir_uniform_ui(c, conf);
}
inst = vir_VFPACK_dest(c, vir_reg(QFILE_TLB, 0), b, a);
if (num_components >= 3)
inst = vir_VFPACK_dest(c, vir_reg(QFILE_TLB, 0), b, a);
}
break;
}