broadcom/compiler: handle textureGatherOffsets

There is a lowering in NIR for this so we just need to enable it.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23616>
This commit is contained in:
Iago Toral Quiroga
2023-06-13 10:34:33 +02:00
committed by Marge Bot
parent 0de89e10ba
commit e31aff59d8
+1
View File
@@ -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 */