From: Oded Gabbay Date: Sun, 6 Mar 2016 15:58:59 +0000 (+0200) Subject: r600g: Move R600_BIG_ENDIAN to r600_pipe_common.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3c98c73dc6547700e7c28f90019559f638b5d8c;p=mesa.git r600g: Move R600_BIG_ENDIAN to r600_pipe_common.h I need to do this so I could use R600_BIG_ENDIAN in files which include r600_pipe_common.h but not r600_pipe.h Signed-off-by: Oded Gabbay Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 6c2a48ca412..7793859a593 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -92,12 +92,6 @@ #define R600_NUM_HW_STAGES 4 #define EG_NUM_HW_STAGES 6 -#ifdef PIPE_ARCH_BIG_ENDIAN -#define R600_BIG_ENDIAN 1 -#else -#define R600_BIG_ENDIAN 0 -#endif - struct r600_context; struct r600_bytecode; union r600_shader_key; diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index b23a780f803..ba390a92319 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -99,6 +99,12 @@ #define R600_MAP_BUFFER_ALIGNMENT 64 #define R600_MAX_VIEWPORTS 16 +#ifdef PIPE_ARCH_BIG_ENDIAN +#define R600_BIG_ENDIAN 1 +#else +#define R600_BIG_ENDIAN 0 +#endif + struct r600_common_context; struct r600_perfcounters; struct tgsi_shader_info;