gallivm: Fix uses of 2^24
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Mon, 21 Jul 2014 15:53:35 +0000 (16:53 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 16 Sep 2014 04:02:55 +0000 (14:02 +1000)
commit1a65629ccc590fe04a97b6df63d73e349b793619
tree6d934f38fa336ed5cdd2ff685e674e3559d3095a
parent0a7f9fe42b457f7c0cd2a37477a6dc20a45baca8
gallivm: Fix uses of 2^24

Fallback cases in lp_bld_arit.c used 2^24 to mean "2 to the power 24",
but in C it's "2 xor 24", i.e. 26.  Fixed by using 1<< instead.

Signed-off-by: Richard Sandiford <rsandifo@linux.vnet.ibm.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_arit.c