Re: [Mesa-dev] [PATCH] swr: push/pop DEBUG macro around llvm includes

2016-06-17 Thread Jose Fonseca
On 17/06/16 03:13, Tim Rowley wrote: llvm redefines DEBUG; adding push/pop prevents a undefined reference to debug_refcnt_state in llvm-3.7+. --- src/gallium/drivers/swr/swr_shader.cpp | 9 ++--- src/gallium/drivers/swr/swr_state.cpp | 6 +- 2 files changed, 11 insertions(+), 4 delet

[Mesa-dev] [PATCH] swr: push/pop DEBUG macro around llvm includes

2016-06-16 Thread Tim Rowley
llvm redefines DEBUG; adding push/pop prevents a undefined reference to debug_refcnt_state in llvm-3.7+. --- src/gallium/drivers/swr/swr_shader.cpp | 9 ++--- src/gallium/drivers/swr/swr_state.cpp | 6 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/