summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
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;