diff options
Diffstat (limited to 'src/broadcom/compiler/nir_to_vir.c')
-rw-r--r-- | src/broadcom/compiler/nir_to_vir.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/broadcom/compiler/nir_to_vir.c b/src/broadcom/compiler/nir_to_vir.c index cec00cb55f7..8f37e3b3e3f 100644 --- a/src/broadcom/compiler/nir_to_vir.c +++ b/src/broadcom/compiler/nir_to_vir.c @@ -334,7 +334,10 @@ ntq_emit_tex(struct v3d_compile *c, nir_tex_instr *instr) break; } - v3d33_vir_emit_tex(c, instr); + if (c->devinfo->ver >= 40) + v3d40_vir_emit_tex(c, instr); + else + v3d33_vir_emit_tex(c, instr); } static struct qreg |