freedreno: use u_math macros/helpers more
authorRob Clark <Rob Clark robdclark@freedesktop.org>
Mon, 22 Apr 2013 17:55:14 +0000 (13:55 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 25 Apr 2013 01:09:46 +0000 (21:09 -0400)
commiteec37f1cdc1651588a4fcd5e87b57d85a57e431f
tree7bddf5398cb89a8c7d508cefe6d036bb7b183445
parent38d8b02eba9aea5b1ce61e8fc949163debda5cd7
freedreno: use u_math macros/helpers more

Get rid of a few self-defined macros:
  ALIGN() -> align()
  min() -> MIN2()
  max() -> MAX2()

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_program.c
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_state.c
src/gallium/drivers/freedreno/freedreno_util.h
src/gallium/drivers/freedreno/ir-a2xx.c