From b128fd773fea4841f108beb8014cfeedae232627 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 13 Mar 2018 14:11:36 +0100 Subject: ac/nir: remove some unnecessary includes and declarations Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/common/ac_nir_to_llvm.c | 4 ---- src/amd/common/ac_nir_to_llvm.h | 6 +----- 2 files changed, 1 insertion(+), 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 #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; -- cgit v1.2.3