ac/radv: split the non-common init_once code from the common target code. (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 26 Jun 2018 22:36:41 +0000 (08:36 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 Jul 2018 19:15:23 +0000 (05:15 +1000)
commit473be16c745d0d78a0be71828d05aeb5d8a7cb76
treef0bc4bf306d48c9f6bfbb10f89563c3a8d29aed1
parent590cc7c8f67902423d812ab219afec93031c6252
ac/radv: split the non-common init_once code from the common target code. (v2)

This just splits out the non-shared code and reuses ac_get_llvm_target in radv.

v2: rebase on Marek's patch - fixup brace position/whitespace

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_llvm_util.c
src/amd/common/ac_llvm_util.h
src/amd/vulkan/radv_shader.c
src/gallium/drivers/radeonsi/si_pipe.c