ac/nir: use ac_build_export_null()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 7 Feb 2018 18:09:13 +0000 (19:09 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 8 Feb 2018 21:11:44 +0000 (22:11 +0100)
commit26ab5a42695b579d255827c0219775fecbbd4d34
treeb1baf663e42bd9868d54bb00be5f373ec1b7bb34
parentbd9f7b763558f9cf1a39a732cb7e5a501b6f024a
ac/nir: use ac_build_export_null()

The number of enabled channels should be 0 when exporting null.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c