diff options
author | Dylan Baker <[email protected]> | 2018-11-09 16:23:08 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-11-05 16:39:55 +0000 |
commit | ee4f1bc187536d32c30f4505247750754e27f6e4 (patch) | |
tree | e389172df07d3e9ea6f7228ded7e9abbc4a2a105 /src/gallium/auxiliary/vl/vl_vlc.h | |
parent | 6b6897a9f9bdf813709a223e31e1eb5a6563686b (diff) |
util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN
As requested by Tim.
This was generated with:
grep 'PIPE_ARCH_.*_ENDIAN' -rIl | xargs sed -ie 's@PIPE_ARCH_\(.*\)_ENDIAN@UTIL_ARCH_\1_ENDIAN@'g
v2: - add this patch
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_vlc.h')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_vlc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_vlc.h b/src/gallium/auxiliary/vl/vl_vlc.h index f5ea6f8fcc2..4c3a5400945 100644 --- a/src/gallium/auxiliary/vl/vl_vlc.h +++ b/src/gallium/auxiliary/vl/vl_vlc.h @@ -151,7 +151,7 @@ vl_vlc_fillbits(struct vl_vlc *vlc) /* enough bytes in buffer, read in a whole dword */ uint64_t value = *(const uint32_t*)vlc->data; -#if !PIPE_ARCH_BIG_ENDIAN +#if !UTIL_ARCH_BIG_ENDIAN value = util_bswap32(value); #endif |