diff options
author | Oded Gabbay <[email protected]> | 2016-03-06 17:58:59 +0200 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2016-04-18 09:50:08 +0300 |
commit | d3c98c73dc6547700e7c28f90019559f638b5d8c (patch) | |
tree | f5e0bd16bec488a669b2355ccec5d89f3fa60d44 /src/gallium/drivers/radeon | |
parent | 72d0d2ba59f7b4c905539a4d1fb5e75a79cc627b (diff) |
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |