Skip to content

treewide: Replace the invalid usage #if DEBUG with #ifdef DEBUG

Yonggang Luo requested to merge lygstate/mesa:mesa_DEBUG_fixes into main

What does this MR do and why?

treewide: Replace the invalid usage #if DEBUG with #ifdef DEBUG

This is done by find&replace and exclude the following folders in vscode
docs,*.rs,addrlib,src/imgui,*.sh,src/intel/vulkan/grl/gpu

This is a prepare step for re-working https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21946

These issues are found when to try switch DEBUG to MESA_DEBUG=0|1

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Edited by Yonggang Luo

Merge request reports