amd: Move all amd/common code that depends on LLVM to amd/llvm.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 27 Sep 2019 08:29:51 +0000 (10:29 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 8 Oct 2019 00:44:08 +0000 (00:44 +0000)
commit3a08110d43ce268747d034cae03787080967bf71
treeee02037354a4a3846f9cb75df486b036345a5acc
parent738bbee603fd3fd8ea29edab7b681e48bc981467
amd: Move all amd/common code that depends on LLVM to amd/llvm.

This commit is a step towards the goal of being able to build RADV
without LLVM. In the future we would like to offer the option to
use RADV solely with ACO. There is still a need for the common AMD
code located in amd/common but the LLVM specific parts need to be
separated.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
23 files changed:
src/amd/Android.common.mk
src/amd/Makefile.sources
src/amd/common/meson.build
src/amd/compiler/meson.build
src/amd/llvm/ac_llvm_build.c [moved from src/amd/common/ac_llvm_build.c with 100% similarity]
src/amd/llvm/ac_llvm_build.h [moved from src/amd/common/ac_llvm_build.h with 100% similarity]
src/amd/llvm/ac_llvm_cull.c [moved from src/amd/common/ac_llvm_cull.c with 100% similarity]
src/amd/llvm/ac_llvm_cull.h [moved from src/amd/common/ac_llvm_cull.h with 100% similarity]
src/amd/llvm/ac_llvm_helper.cpp [moved from src/amd/common/ac_llvm_helper.cpp with 100% similarity]
src/amd/llvm/ac_llvm_util.c [moved from src/amd/common/ac_llvm_util.c with 100% similarity]
src/amd/llvm/ac_llvm_util.h [moved from src/amd/common/ac_llvm_util.h with 100% similarity]
src/amd/llvm/ac_nir_to_llvm.c [moved from src/amd/common/ac_nir_to_llvm.c with 100% similarity]
src/amd/llvm/ac_nir_to_llvm.h [moved from src/amd/common/ac_nir_to_llvm.h with 100% similarity]
src/amd/llvm/ac_shader_abi.h [moved from src/amd/common/ac_shader_abi.h with 100% similarity]
src/amd/llvm/meson.build [new file with mode: 0644]
src/amd/meson.build
src/amd/vulkan/meson.build
src/gallium/drivers/r600/Android.mk
src/gallium/drivers/radeonsi/Android.mk
src/gallium/drivers/radeonsi/meson.build
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/meson.build
src/meson.build