diff options
author | Marek Olšák <[email protected]> | 2020-01-14 20:27:24 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-15 21:54:55 +0000 |
commit | 68586bdd215f5f1af956f9e2e71039a5011a7ce1 (patch) | |
tree | f1e113681b9f7616667e35de144425920509ad28 /src/gallium/drivers/radeonsi | |
parent | 30b14ba67e998cbc12447adc6c8e185636b75390 (diff) |
radeonsi: remove useless #includes
Reviewed-by: Timothy Arceri <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3399>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_internal.h | 3 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_llvm.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_llvm_build.c | 3 |
7 files changed, 0 insertions, 18 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 1adbafda53a..d6b960379b4 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -26,14 +26,12 @@ #include "radeon/radeon_video.h" #include "radeon/radeon_vce.h" #include "radeon/radeon_uvd_enc.h" -#include "ac_llvm_util.h" #include "vl/vl_decoder.h" #include "vl/vl_video_buffer.h" #include "util/u_screen.h" #include "util/u_video.h" #include "compiler/nir/nir.h" -#include <llvm/Config/llvm-config.h> #include <sys/utsname.h> static const char *si_get_vendor(struct pipe_screen *pscreen) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index daba5bcd79a..f49961d2b43 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -29,7 +29,6 @@ #include "si_compute.h" #include "sid.h" -#include "ac_llvm_util.h" #include "radeon/radeon_uvd.h" #include "util/disk_cache.h" #include "util/u_log.h" @@ -45,8 +44,6 @@ #include "gallium/winsys/amdgpu/drm/amdgpu_public.h" #include <xf86drm.h> -#include <llvm/Config/llvm-config.h> - static struct pipe_context *si_create_context(struct pipe_screen *screen, unsigned flags); diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index add0ff1fcf0..49538e823f4 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -22,16 +22,12 @@ * USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <llvm/Config/llvm-config.h> - #include "util/u_memory.h" #include "tgsi/tgsi_strings.h" #include "tgsi/tgsi_from_mesa.h" #include "ac_exp_param.h" -#include "ac_shader_util.h" #include "ac_rtld.h" -#include "ac_llvm_util.h" #include "si_shader_internal.h" #include "si_pipe.h" #include "sid.h" diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index cfddda02128..3a6ad2b5117 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -131,8 +131,6 @@ #ifndef SI_SHADER_H #define SI_SHADER_H -#include <llvm-c/Core.h> /* LLVMModuleRef */ -#include <llvm-c/TargetMachine.h> #include "util/u_inlines.h" #include "util/u_queue.h" #include "util/simple_mtx.h" diff --git a/src/gallium/drivers/radeonsi/si_shader_internal.h b/src/gallium/drivers/radeonsi/si_shader_internal.h index f3b02f26f85..e9b41e0ff16 100644 --- a/src/gallium/drivers/radeonsi/si_shader_internal.h +++ b/src/gallium/drivers/radeonsi/si_shader_internal.h @@ -28,9 +28,6 @@ #include "si_shader.h" #include "ac_shader_abi.h" -#include <llvm-c/Core.h> -#include <llvm-c/TargetMachine.h> - struct pipe_debug_callback; #define RADEON_LLVM_MAX_INPUTS 32 * 4 diff --git a/src/gallium/drivers/radeonsi/si_shader_llvm.c b/src/gallium/drivers/radeonsi/si_shader_llvm.c index 11f5a14d121..841c97b00bf 100644 --- a/src/gallium/drivers/radeonsi/si_shader_llvm.c +++ b/src/gallium/drivers/radeonsi/si_shader_llvm.c @@ -24,7 +24,6 @@ #include "si_shader_internal.h" #include "si_pipe.h" -#include "ac_llvm_util.h" #include "util/u_memory.h" struct si_llvm_diagnostics { diff --git a/src/gallium/drivers/radeonsi/si_shader_llvm_build.c b/src/gallium/drivers/radeonsi/si_shader_llvm_build.c index 722faf45d15..7c159560cb6 100644 --- a/src/gallium/drivers/radeonsi/si_shader_llvm_build.c +++ b/src/gallium/drivers/radeonsi/si_shader_llvm_build.c @@ -22,12 +22,9 @@ * USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <llvm/Config/llvm-config.h> - #include "si_shader_internal.h" #include "si_pipe.h" #include "sid.h" -#include "ac_llvm_util.h" /** * Load a dword from a constant buffer. |