util: move min/max/clamp macros to util macros.h
authorDave Airlie <airlied@redhat.com>
Fri, 14 Oct 2016 03:10:26 +0000 (13:10 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Oct 2016 23:05:25 +0000 (09:05 +1000)
commit78bce52f9a57ea020ef7b9386216efe151be9542
tree52a93a0beed3a6327537fa80bc861465b141acd5
parentf5daaba0fdd842bf04ede903aea3e63d10a27c6e
util: move min/max/clamp macros to util macros.h

Although the vulkan drivers include mesa macros.h, for
radv I'd like to move away from that.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/macros.h
src/util/macros.h