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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user