ac/nir_to_llvm: fix component packing for double outputs
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 21 Mar 2018 01:23:08 +0000 (12:23 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 27 Mar 2018 22:59:37 +0000 (09:59 +1100)
commit51f175028dcc69e055d7e612024f7bfe79d7ed5d
treeef35b35b0a287d4a6c1e296070076406e56a89b1
parentfc51fdbcdec60f96b9bf593d74beb42e465cc277
ac/nir_to_llvm: fix component packing for double outputs

We need to wait until after the writemask is widened before we
adjust it for component packing.

Together with the previous patch this fixes a number of
arb_enhanced_layouts component layout piglit tests.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c