diff options
author | Tom Stellard <[email protected]> | 2014-02-19 14:19:53 -0800 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-02-24 12:56:27 -0800 |
commit | eac7236042e3deb87c681c2f70c606c1b6565c22 (patch) | |
tree | 9db483690670f9f15ba6194f716bc31328e4aa6f /src/gallium/drivers/radeonsi | |
parent | 8f3bcedde216e79be3f7bf9ac2e73dd5188240ee (diff) |
radeonsi: Use SI_BIG_ENDIAN now that it exists
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 9b04e6b5e50..77768214f5a 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -2333,7 +2333,7 @@ int si_compile_llvm(struct si_context *sctx, struct si_pipe_shader *shader, } ptr = (uint32_t*)sctx->b.ws->buffer_map(shader->bo->cs_buf, sctx->b.rings.gfx.cs, PIPE_TRANSFER_WRITE); - if (0 /*SI_BIG_ENDIAN*/) { + if (SI_BIG_ENDIAN) { for (i = 0; i < binary.code_size / 4; ++i) { ptr[i] = util_cpu_to_le32((*(uint32_t*)(binary.code + i*4))); } |