gallivm: (trivial) use constant instead of exp2f() function
authorRoland Scheidegger <sroland@vmware.com>
Sun, 14 Jul 2013 00:38:13 +0000 (02:38 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Sun, 14 Jul 2013 00:39:33 +0000 (02:39 +0200)
commit796b73d1feeafa7ce128273f722409ad697bfdb4
treee38a4b0f2549317679eca11631a86348e2b5194a
parent62c546bbf87afe32e49c100e245e04bc35304481
gallivm: (trivial) use constant instead of exp2f() function

Some lame compilers can't do exp2f() and as far as I can tell they can't do
exp2() (with doubles) neither so instead of providing some workaround for
that (wouldn't actually be too bad just replace with pow) and since it is
used with a constant only just use the precalculated constant.
src/gallium/auxiliary/gallivm/lp_bld_format_srgb.c