radeonsi: remove unnecessary #includes
authorMarek Olšák <marek.olsak@amd.com>
Sun, 2 Oct 2016 15:52:46 +0000 (17:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Oct 2016 14:12:07 +0000 (16:12 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gallium/drivers/radeonsi/cik_sdma.c
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_debug.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_dma.c
src/gallium/drivers/radeonsi/si_perfcounter.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_draw.c
src/gallium/drivers/radeonsi/si_state_shaders.c

index d15d8dc8bb3bb1cdd78f60d2e8153b651f512bfc..141fb01ab1639c0da06f02f8e057a1f766cd5a8e 100644 (file)
@@ -27,9 +27,6 @@
 
 #include "sid.h"
 #include "si_pipe.h"
-#include "radeon/r600_cs.h"
-
-#include "util/u_format.h"
 
 static void cik_sdma_do_copy_buffer(struct si_context *ctx,
                                    struct pipe_resource *dst,
index ad9cb7ac1fc40308b67123223437c87ff836567e..9a5a4a9209f72c73b0d315d6de242bfdf6b86c83 100644 (file)
 #include "tgsi/tgsi_parse.h"
 #include "util/u_memory.h"
 #include "util/u_upload_mgr.h"
-#include "radeon/r600_pipe_common.h"
 #include "radeon/radeon_elf_util.h"
 
 #include "amd_kernel_code_t.h"
 #include "radeon/r600_cs.h"
 #include "si_pipe.h"
-#include "si_shader.h"
 #include "sid.h"
 
 #define MAX_GLOBAL_BUFFERS 20
index d172867238bb16d17242f5d4517fa5369b1ad874..3de7c71e35f4ce0f6c0ccb16ed89552a206ce595 100644 (file)
@@ -25,7 +25,6 @@
  */
 
 #include "si_pipe.h"
-#include "si_shader.h"
 #include "sid.h"
 #include "sid_tables.h"
 #include "radeon/radeon_elf_util.h"
index 26e7bebcf069b04eba32456be012bd00bd77ed77..350242aeed51bd921e7236ea9d4356280876f51a 100644 (file)
 
 #include "radeon/r600_cs.h"
 #include "si_pipe.h"
-#include "si_shader.h"
 #include "sid.h"
 
 #include "util/u_format.h"
-#include "util/u_math.h"
 #include "util/u_memory.h"
-#include "util/u_suballoc.h"
 #include "util/u_upload_mgr.h"
 
 
index 4291361a6d905eb7dab01e3d049e73e7a9352ad0..3df52bddc4464111ff4dc7cde744e295d00b51fa 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "sid.h"
 #include "si_pipe.h"
-#include "radeon/r600_cs.h"
 
 #include "util/u_format.h"
 
index 0f5c28ce0f602ef4bcfd43cb126b75a3a242b814..5e0bf3f9e1bdb53abf2d0094341566083192a47d 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "radeon/r600_cs.h"
 #include "radeon/r600_query.h"
-#include "radeon/r600_pipe_common.h"
 #include "util/u_memory.h"
 
 #include "si_pipe.h"
index 60ef5485855426cdbe79bff6064baf812a7960e1..43d63772adde2f2934c4ed5b6c26555d5ff26b1d 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 #include "si_pipe.h"
-#include "si_shader.h"
 #include "si_public.h"
 #include "sid.h"
 
index 3ccff7ae9e0d426d81317cbd2c1e8df42c8f43b8..7d1a6845b917eed1543c70612abd25476699b8a8 100644 (file)
 #include "gallivm/lp_bld_intr.h"
 #include "gallivm/lp_bld_logic.h"
 #include "gallivm/lp_bld_arit.h"
-#include "gallivm/lp_bld_bitarit.h"
 #include "gallivm/lp_bld_flow.h"
 #include "gallivm/lp_bld_misc.h"
-#include "radeon/r600_cs.h"
 #include "radeon/radeon_llvm.h"
 #include "radeon/radeon_elf_util.h"
 #include "radeon/radeon_llvm_emit.h"
 #include "util/u_memory.h"
 #include "util/u_string.h"
-#include "tgsi/tgsi_parse.h"
 #include "tgsi/tgsi_build.h"
 #include "tgsi/tgsi_util.h"
 #include "tgsi/tgsi_dump.h"
 
 #include "si_pipe.h"
-#include "si_shader.h"
 #include "sid.h"
 
-#include <errno.h>
 
 static const char *scratch_rsrc_dword0_symbol =
        "SCRATCH_RSRC_DWORD0";
index e3de572cabba6f63644a7167f981130992749fb4..ddf6cfe14dee0ec6f063b066b804caa906cae0e8 100644 (file)
@@ -25,7 +25,6 @@
  */
 
 #include "si_pipe.h"
-#include "si_shader.h"
 #include "sid.h"
 #include "radeon/r600_cs.h"
 #include "radeon/r600_query.h"
@@ -34,7 +33,6 @@
 #include "util/u_format.h"
 #include "util/u_format_s3tc.h"
 #include "util/u_memory.h"
-#include "util/u_pstipple.h"
 #include "util/u_resource.h"
 
 /* Initialize an external atom (owned by ../radeon). */
index 051ea9e2ecb0f21cf533083dc8c70282076fdd81..38e5cb45785199af55738865f0f81a819e15ed0e 100644 (file)
  */
 
 #include "si_pipe.h"
-#include "si_shader.h"
 #include "radeon/r600_cs.h"
 #include "sid.h"
 
 #include "util/u_index_modify.h"
 #include "util/u_upload_mgr.h"
 #include "util/u_prim.h"
-#include "util/u_memory.h"
 
 static unsigned si_conv_pipe_prim(unsigned mode)
 {
index acbcebaecd9543b95520960e73ef0044546cfdf2..96626252d5e63df3dc4be61ad303e7ffdcbef572 100644 (file)
@@ -26,7 +26,6 @@
  */
 
 #include "si_pipe.h"
-#include "si_shader.h"
 #include "sid.h"
 #include "radeon/r600_cs.h"
 
@@ -36,7 +35,6 @@
 #include "util/u_hash.h"
 #include "util/u_memory.h"
 #include "util/u_prim.h"
-#include "util/u_simple_shaders.h"
 
 /* SHADER_CACHE */