radv/ac: cleanup ddxy emission
authorDave Airlie <airlied@redhat.com>
Sun, 20 Nov 2016 23:56:45 +0000 (23:56 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 22 Nov 2016 07:15:43 +0000 (17:15 +1000)
commit5697cfb7ec08e827a48adc2cd34364696e209147
tree9d6478a8bc12b01b64c97f9757a40ecbeea16053
parentfa57b771059efb4c409253c75a42785105ba67fa
radv/ac: cleanup ddxy emission

This cleans up the ddxy emission along the same lines as
radeonsi. It also means we don't use LDS on VI chips we
use the dspermute interface, it also removes some duplicated
code.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c