summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-03-13 14:11:36 +0100
committerSamuel Pitoiset <[email protected]>2018-03-13 16:54:27 +0100
commitb128fd773fea4841f108beb8014cfeedae232627 (patch)
tree55219ea2acbc4ba486b22ed6288a279c4b28d29a /src/amd
parentcd4e823341b6a1f987f22bbaa96cab82a483ce33 (diff)
ac/nir: remove some unnecessary includes and declarations
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/common/ac_nir_to_llvm.c4
-rw-r--r--src/amd/common/ac_nir_to_llvm.h6
2 files changed, 1 insertions, 9 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index dff3bca7130..bdb2da6bea8 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -27,13 +27,9 @@
#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;
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h
index c87e71f42b6..c5cc98d6eb7 100644
--- a/src/amd/common/ac_nir_to_llvm.h
+++ b/src/amd/common/ac_nir_to_llvm.h
@@ -28,14 +28,10 @@
#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;