[Mesa-dev] Removing R600_BIG_ENDIAN and using #ifdef instead

Oded Gabbay oded.gabbay at gmail.com
Sun Mar 6 08:01:57 UTC 2016


Hi,

Do you mind if I totally remove R600_BIG_ENDIAN global variable and
instead use in all places #ifdef PIPE_ARCH_BIG_ENDIAN ?

It's just that:

1. Checking for R600_BIG_ENDIAN is an extra check which can be
eliminated using #ifdef

2. Some files, e.g r600_texture.c, don't know R600_BIG_ENDIAN so I
need to use the #ifdef anyway.

3. Other drivers in mesa use #ifdef

Thanks,

     Oded


More information about the mesa-dev mailing list