clover: Return correct value for CL_DEVICE_ENDIAN_LITTLE
authorTom Stellard <thomas.stellard@amd.com>
Wed, 10 Jul 2013 04:21:40 +0000 (21:21 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 22 Jul 2013 20:45:20 +0000 (22:45 +0200)
commit8c9d3c62f60a2819948bdfb005600cdc10aa2547
tree41d47c73c5edd95c3ba341baceb7fd9a597d6e15
parent4e90bc9a12bea93c6b5522abe8151a8cfe1d6d1d
clover: Return correct value for CL_DEVICE_ENDIAN_LITTLE

Query the driver using PIPE_CAP_ENDIANNESS rather than always returning
true.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/api/device.cpp
src/gallium/state_trackers/clover/core/device.cpp
src/gallium/state_trackers/clover/core/device.hpp