radv/ac: split part of llvm compile into a separate function
authorDave Airlie <airlied@redhat.com>
Mon, 16 Jan 2017 22:41:03 +0000 (08:41 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Jan 2017 20:21:05 +0000 (06:21 +1000)
commit788610081198260d6974f86ed62a4b9aaf59b8c4
treebb988bee2de033c56244ad25aa98ce28b8ba9953
parent5dadd7ca27da6cd5bbac95c8e09130ec4a384e2b
radv/ac: split part of llvm compile into a separate function

This is needed to have common code for gs copy shader emission.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c