projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31e0e8a
)
gallivm/nir: lower packing
author
Dave Airlie
<airlied@redhat.com>
Fri, 13 Dec 2019 03:17:48 +0000
(13:17 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 27 Dec 2019 03:26:33 +0000
(13:26 +1000)
This fixes some CL upsample tests, which lower into packing that needs
lowering.
Acked-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_nir.c
b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
index f2fb76aeba24540e5f1febf19c317f9d0d4f66fb..24036dba9837541bffdad224425e9f482969d3a6 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_nir.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_nir.c
@@
-1815,6
+1815,7
@@
void lp_build_opt_nir(struct nir_shader *nir)
progress = false;
NIR_PASS_V(nir, nir_opt_constant_folding);
NIR_PASS_V(nir, nir_opt_algebraic);
+ NIR_PASS_V(nir, nir_lower_pack);
} while (progress);
nir_lower_bool_to_int32(nir);
}