diff options
Diffstat (limited to 'src/broadcom/compiler')
-rw-r--r-- | src/broadcom/compiler/nir_to_vir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/broadcom/compiler/nir_to_vir.c b/src/broadcom/compiler/nir_to_vir.c index 394e20d2070..f998f716590 100644 --- a/src/broadcom/compiler/nir_to_vir.c +++ b/src/broadcom/compiler/nir_to_vir.c @@ -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; } |