From e31aff59d88702bf760c8141204c23b58f6b58e0 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Tue, 13 Jun 2023 10:34:33 +0200 Subject: [PATCH] broadcom/compiler: handle textureGatherOffsets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is a lowering in NIR for this so we just need to enable it. Reviewed-by: Alejandro PiƱeiro Reviewed-by: Alyssa Rosenzweig Part-of: --- src/broadcom/compiler/vir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c index f32325bbf50..e9d197a25aa 100644 --- a/src/broadcom/compiler/vir.c +++ b/src/broadcom/compiler/vir.c @@ -619,6 +619,7 @@ v3d_lower_nir(struct v3d_compile *c) { struct nir_lower_tex_options tex_options = { .lower_txd = true, + .lower_tg4_offsets = true, .lower_tg4_broadcom_swizzle = true, .lower_rect = false, /* XXX: Use this on V3D 3.x */