diff options
author | Cédric Cano <[email protected]> | 2011-04-19 11:14:23 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2011-04-19 12:06:52 -0400 |
commit | 3c3a2596033d88848392c4aab5cc16d96afe149f (patch) | |
tree | a6f0edff67227b2fe35788a3fda829d751998fc5 /src/mesa/drivers/dri/r600/r600_blit_shaders.h | |
parent | 7a6061d7a6d9938f3454b7458df1480d856b83e2 (diff) |
r600c: add big endian support for r6xx/r7xx
Signed-off-by: Cedric Cano <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_blit_shaders.h')
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_blit_shaders.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_blit_shaders.h b/src/mesa/drivers/dri/r600/r600_blit_shaders.h index 492dde96368..2124f7673d7 100644 --- a/src/mesa/drivers/dri/r600/r600_blit_shaders.h +++ b/src/mesa/drivers/dri/r600/r600_blit_shaders.h @@ -10,7 +10,11 @@ const uint32_t r6xx_vs[] = 0x00000000, 0x3c000000, // SQ_VTX_INST_FETCH BUFFER_ID(0) MEGA_FETCH_COUNT(16) 0x68cd1000, // DST_GPR(0) DST_SWZ: XYZW DATA_FORMAT(35) SQ_NUM_FORMAT_SCALED SQ_FORMAT_COMP_SIGNED +#ifdef MESA_BIG_ENDIAN + 0x000a0000, // ENDIAN_SWAP(SQ_ENDIAN_8IN32) MEGA_FETCH(1) +#else 0x00080000, // ENDIAN_SWAP(SQ_ENDIAN_NONE) MEGA_FETCH(1) +#endif 0x00000000, // VTX_DWORD_PAD }; |