diff options
author | Emil Velikov <[email protected]> | 2014-08-16 17:58:25 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-08-28 21:24:37 +0100 |
commit | a131263a2f19507ca0d2f6093672d930a7c054d1 (patch) | |
tree | 249244d472578081e2cf3f35d1c1fcafacbaedd3 /src/gallium/drivers/radeonsi | |
parent | 22a13f5b09b62557fcbc72f38421bbd9328bcb37 (diff) |
gallium/radeon: cleanup header inclusion
- Add top_srcdir/src/gallium/winsys to GALLIUM_DRIVER_C{XXFLAGS}.
- Remove top_srcdir/src/gallium/drivers/radeon from the includes.
As a result:
- Common radeon headers are prefixed with 'radeon/'
- Winsys header inclusion is prefixed 'radeon/drm'
Cc: Marek Olšák <[email protected]>
Cc: Michel Dänzer <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/Makefile.am | 1 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_descriptors.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_dma.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pm4.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pm4.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_draw.c | 2 |
10 files changed, 11 insertions, 12 deletions
diff --git a/src/gallium/drivers/radeonsi/Makefile.am b/src/gallium/drivers/radeonsi/Makefile.am index 926b2032c8a..aa79c5e01ef 100644 --- a/src/gallium/drivers/radeonsi/Makefile.am +++ b/src/gallium/drivers/radeonsi/Makefile.am @@ -24,7 +24,6 @@ include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc AM_CFLAGS = \ - -I$(top_srcdir)/src/gallium/drivers/radeon \ $(GALLIUM_DRIVER_CFLAGS) \ $(RADEON_CFLAGS) \ $(LLVM_CFLAGS) diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 31de4be195a..fc842d43719 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -24,12 +24,12 @@ #include "util/u_memory.h" -#include "../radeon/r600_cs.h" +#include "radeon/r600_cs.h" #include "si_pipe.h" #include "si_shader.h" #include "sid.h" -#include "radeon_llvm_util.h" +#include "radeon/radeon_llvm_util.h" #define MAX_GLOBAL_BUFFERS 20 #if HAVE_LLVM < 0x0305 diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index 0e95f485e52..792d2c3a9de 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -23,7 +23,7 @@ * Authors: * Marek Olšák <[email protected]> */ -#include "../radeon/r600_cs.h" +#include "radeon/r600_cs.h" #include "si_pipe.h" #include "si_shader.h" #include "sid.h" diff --git a/src/gallium/drivers/radeonsi/si_dma.c b/src/gallium/drivers/radeonsi/si_dma.c index a69f533c743..4a87f791035 100644 --- a/src/gallium/drivers/radeonsi/si_dma.c +++ b/src/gallium/drivers/radeonsi/si_dma.c @@ -26,7 +26,7 @@ #include "sid.h" #include "si_pipe.h" -#include "../radeon/r600_cs.h" +#include "radeon/r600_cs.h" #include "util/u_format.h" diff --git a/src/gallium/drivers/radeonsi/si_pm4.c b/src/gallium/drivers/radeonsi/si_pm4.c index 705b226d4dd..61ebad50179 100644 --- a/src/gallium/drivers/radeonsi/si_pm4.c +++ b/src/gallium/drivers/radeonsi/si_pm4.c @@ -24,7 +24,7 @@ * Christian König <[email protected]> */ -#include "../radeon/r600_cs.h" +#include "radeon/r600_cs.h" #include "util/u_memory.h" #include "si_pipe.h" #include "sid.h" diff --git a/src/gallium/drivers/radeonsi/si_pm4.h b/src/gallium/drivers/radeonsi/si_pm4.h index 0702bd46faa..c7e032a5f7c 100644 --- a/src/gallium/drivers/radeonsi/si_pm4.h +++ b/src/gallium/drivers/radeonsi/si_pm4.h @@ -27,7 +27,7 @@ #ifndef SI_PM4_H #define SI_PM4_H -#include "../../winsys/radeon/drm/radeon_winsys.h" +#include "radeon/drm/radeon_winsys.h" #define SI_PM4_MAX_DW 256 #define SI_PM4_MAX_BO 32 diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 08ba8b0ab0f..0a5ed960a86 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -32,8 +32,8 @@ #include "gallivm/lp_bld_logic.h" #include "gallivm/lp_bld_arit.h" #include "gallivm/lp_bld_flow.h" -#include "radeon_llvm.h" -#include "radeon_llvm_emit.h" +#include "radeon/radeon_llvm.h" +#include "radeon/radeon_llvm_emit.h" #include "util/u_memory.h" #include "tgsi/tgsi_parse.h" #include "tgsi/tgsi_util.h" diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 6fcb14b6e94..84fcdad8839 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -27,7 +27,7 @@ #include "si_pipe.h" #include "si_shader.h" #include "sid.h" -#include "../radeon/r600_cs.h" +#include "radeon/r600_cs.h" #include "tgsi/tgsi_parse.h" #include "tgsi/tgsi_scan.h" diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 7362ad129c9..99f5b1aa29f 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -28,7 +28,7 @@ #define SI_STATE_H #include "si_pm4.h" -#include "../radeon/r600_pipe_common.h" +#include "radeon/r600_pipe_common.h" struct si_screen; diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 0f700a8c9eb..b0fcb071e2e 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -26,7 +26,7 @@ #include "si_pipe.h" #include "si_shader.h" -#include "../radeon/r600_cs.h" +#include "radeon/r600_cs.h" #include "sid.h" #include "util/u_format.h" |