ac/nir: remove some unnecessary includes and declarations
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 13 Mar 2018 13:11:36 +0000 (14:11 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 13 Mar 2018 15:54:27 +0000 (16:54 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h

index dff3bca71306bdf7c400a347225d516f455e7b37..bdb2da6bea893e5de638988db4b8d97df45d361a 100644 (file)
 #include "ac_binary.h"
 #include "sid.h"
 #include "nir/nir.h"
-#include "../vulkan/radv_descriptor_set.h"
 #include "util/bitscan.h"
-#include <llvm-c/Transforms/Scalar.h>
 #include "ac_shader_abi.h"
-#include "ac_shader_info.h"
 #include "ac_shader_util.h"
-#include "ac_exp_param.h"
 
 struct ac_nir_context {
        struct ac_llvm_context ac;
index c87e71f42b634044772fdc86319170da0a3119d1..c5cc98d6eb782250e4aace16eaf38dbb81b58550 100644 (file)
 #include "llvm-c/Core.h"
 #include "llvm-c/TargetMachine.h"
 #include "amd_family.h"
-#include "../vulkan/radv_descriptor_set.h"
 #include "compiler/shader_enums.h"
-struct ac_shader_binary;
-struct ac_shader_config;
+
 struct nir_shader;
 struct nir_variable;
-struct radv_pipeline_layout;
-
 struct ac_llvm_context;
 struct ac_shader_abi;