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:
72cc268
)
broadcom/compiler: wrap nir_convert_to_lcssa with NIR_PASS_V
author
Alejandro Piñeiro
<apinheiro@igalia.com>
Wed, 13 Jul 2022 10:53:14 +0000
(12:53 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 20 Jul 2022 11:35:24 +0000
(11:35 +0000)
So we get it included with the NIR_DEBUG=print_xx debug options.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17609>
src/broadcom/compiler/vir.c
patch
|
blob
|
history
diff --git
a/src/broadcom/compiler/vir.c
b/src/broadcom/compiler/vir.c
index
8448921
..
2018fb8
100644
(file)
--- a/
src/broadcom/compiler/vir.c
+++ b/
src/broadcom/compiler/vir.c
@@
-1604,7
+1604,7
@@
v3d_attempt_compile(struct v3d_compile *c)
}
NIR_PASS_V(c->s, nir_lower_bool_to_int32);
-
nir_convert_to_lcssa(c->s
, true, true);
+
NIR_PASS_V(c->s, nir_convert_to_lcssa
, true, true);
NIR_PASS_V(c->s, nir_divergence_analysis);
NIR_PASS_V(c->s, nir_convert_from_ssa, true);