swr: push/pop DEBUG macro around llvm includes
authorTim Rowley <timothy.o.rowley@intel.com>
Fri, 17 Jun 2016 02:09:35 +0000 (21:09 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 23 Jun 2016 14:58:08 +0000 (09:58 -0500)
commit9ca741c64524a57f972ce050919a0e2dec3e64f3
tree07405cadcc92038e8f8e3f48a0976292797a0806
parent805dbdf06d98e6dcfe0b24e38cc13c88eb5f36be
swr: push/pop DEBUG macro around llvm includes

llvm redefines DEBUG; adding push/pop prevents a undefined reference
to debug_refcnt_state in llvm-3.7+.

v2: add undef DEBUG

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/swr_shader.cpp
src/gallium/drivers/swr/swr_state.cpp