llvmpipe: fix vertex_header mask store in big-endian
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Sun, 20 Jan 2013 17:42:16 +0000 (11:42 -0600)
committerAdam Jackson <ajax@redhat.com>
Mon, 11 Feb 2013 18:41:28 +0000 (13:41 -0500)
commit1ab2c55bf49dd90e1c08e0b8226e354137d041cd
tree9852015597cc2cf71bc8a7c95288fb6619061462
parenta8016b2f607ce8921972acb6ee6723c5a2d54017
llvmpipe: fix vertex_header mask store in big-endian

This patch fixes the vertex_header mask bitfield store in big-endian
architectures by bit-swap the fields accordingly.

Reviewed-by: Adam Jackson <ajax@redhat.com>
src/gallium/auxiliary/draw/draw_llvm.c