mesa: Use u_math.h from macros.h
authorEric Anholt <eric@anholt.net>
Wed, 11 Feb 2015 22:24:33 +0000 (14:24 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 20 Feb 2015 19:36:34 +0000 (11:36 -0800)
commit41b1882ed45f0fcb827a178cb3f7143fcaa8c4d9
treeb9a2f335d36f6bc2adbf4963a4ab82cdefb6cfd9
parent5ca019358f7a598174bd4adb6746fedc0ca78943
mesa: Use u_math.h from macros.h

This avoids duplication of some macros and other definitions across the
tree.

Note that COPY_4FV switches from a memcpy-based implementation to an
assignment of 4 floats.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/drivers/dri/i915/intel_tris.c
src/mesa/drivers/dri/nouveau/nouveau_util.h
src/mesa/drivers/dri/r200/r200_sanity.c
src/mesa/drivers/dri/radeon/radeon_sanity.c
src/mesa/main/macros.h