mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 07:10:36 +02:00
radeonsi: Use SI_BIG_ENDIAN now that it exists
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
8f3bcedde2
commit
eac7236042
1 changed files with 1 additions and 1 deletions
|
|
@ -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)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue