From 4d991c2de46794a5a7c10110677d55a498893586 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 12 Mar 2020 14:29:54 +0100 Subject: [PATCH] radv: remove unnecessary LLVM includes They are already included from src/amd/llvm. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_device.c | 1 - src/amd/vulkan/radv_nir_to_llvm.c | 5 ----- src/amd/vulkan/radv_pipeline.c | 3 --- src/amd/vulkan/radv_private.h | 2 -- src/amd/vulkan/radv_shader.c | 4 ---- src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c | 1 - 6 files changed, 16 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 50c6f14bbcb..2f44b279ac1 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -41,7 +41,6 @@ #include #include #include -#include #include "radv_debug.h" #include "radv_private.h" diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index 81b610ab137..961d6db0ba0 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -31,11 +31,6 @@ #include "radv_shader_args.h" #include "nir/nir.h" -#include -#include -#include -#include - #include "sid.h" #include "ac_binary.h" #include "ac_llvm_util.h" diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index d4b7f71d395..2bd4e2b4d84 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -38,9 +38,6 @@ #include "spirv/nir_spirv.h" #include "vk_util.h" -#include -#include - #include "sid.h" #include "ac_binary.h" #include "ac_llvm_util.h" diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 924e7262f34..fc63818adce 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -65,8 +65,6 @@ #include "radv_extensions.h" #include "sid.h" -#include - /* Pre-declarations needed for WSI entrypoints */ struct wl_surface; struct wl_display; diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 6be0c43a7ab..37c85ea95f4 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -36,10 +36,6 @@ #include "nir/nir_builder.h" #include "spirv/nir_spirv.h" -#include -#include -#include - #include "sid.h" #include "ac_binary.h" #include "ac_llvm_util.h" diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c index b1d204a6d31..77de0083498 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include "radv_amdgpu_cs.h" -- 2.30.2