r600g: Move R600_BIG_ENDIAN to r600_pipe_common.h
authorOded Gabbay <oded.gabbay@gmail.com>
Sun, 6 Mar 2016 15:58:59 +0000 (17:58 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Mon, 18 Apr 2016 06:50:08 +0000 (09:50 +0300)
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 <oded.gabbay@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/radeon/r600_pipe_common.h

index 6c2a48ca412eb4c80e43d64a8db258d8a8b03904..7793859a59308d5036ab47f059724b69a6596232 100644 (file)
 #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;
index b23a780f803043a7474a2dd1846afae6c3dd82df..ba390a92319099766900c18e13bbcdd9f7c6b19f 100644 (file)
 #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;