projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de89e1
)
broadcom/compiler: handle textureGatherOffsets
author
Iago Toral Quiroga
<itoral@igalia.com>
Tue, 13 Jun 2023 08:34:33 +0000
(10:34 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Mon, 19 Jun 2023 08:13:06 +0000
(08:13 +0000)
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>
src/broadcom/compiler/vir.c
patch
|
blob
|
history
diff --git
a/src/broadcom/compiler/vir.c
b/src/broadcom/compiler/vir.c
index
f32325b
..
e9d197a
100644
(file)
--- 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 */