r200: use preprocessor for big vs little endian checks
authorDylan Baker <dylan@pnwbakers.com>
Thu, 6 Sep 2018 21:17:12 +0000 (14:17 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 5 Nov 2019 16:39:55 +0000 (16:39 +0000)
commita550b6b7f81e16f1ec711ae029260fb3ec1dc367
tree89d440ac139e2e2113ce51ead910e7e34f72b3f6
parent38e706656d0ea99a893dcf469e8658ca78c5ffd8
r200: use preprocessor for big vs little endian checks

Instead of using a function at runtime we can just build the right code
for the right platform.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/mesa/drivers/dri/r200/r200_blit.c
src/mesa/drivers/dri/r200/r200_texstate.c