gallivm/nir: lower packing

This fixes some CL upsample tests, which lower into packing that needs
lowering.

Acked-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Dave Airlie 2019-12-13 13:17:48 +10:00
parent 31e0e8a51b
commit 5be1ea7d79
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}