From: Samuel Pitoiset Date: Tue, 13 Mar 2018 13:11:36 +0000 (+0100) Subject: ac/nir: remove some unnecessary includes and declarations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b128fd773fea4841f108beb8014cfeedae232627;p=mesa.git ac/nir: remove some unnecessary includes and declarations Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- 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;