gallivm: Actually do floor/ceil/trunc for scalars.
authorJosé Fonseca <jfonseca@vmware.com>
Sat, 8 May 2010 22:07:09 +0000 (23:07 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 8 May 2010 22:29:05 +0000 (23:29 +0100)
commitff7542ab90154769930c80d58597cfec40844bd9
treef71e1c8c29f8bf5b83b662fe4759c54a221d2ede
parentffebc7f2a7eaa2db5c998448412a91a7594f241c
gallivm: Actually do floor/ceil/trunc for scalars.

Also start axing the code duplication for scalar case. The olution is to
treat the scalar case specially in a few innermost functions, and leave
outer functions untouched.
src/gallium/auxiliary/gallivm/lp_bld_arit.c
src/gallium/auxiliary/gallivm/lp_bld_const.c
src/gallium/auxiliary/gallivm/lp_bld_swizzle.c