anv: Define macro anv_debug()
authorChad Versace <chadversary@chromium.org>
Wed, 25 Jan 2017 20:12:16 +0000 (12:12 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 26 Jan 2017 03:17:45 +0000 (19:17 -0800)
commitc5d99c9983f2fcc70757df224ff8dd8fee9a5215
tree2633f49611435d362cfab99ed278c64303522afa
parentfd43bee0ea3742abc8871d146d645db13f7d678f
anv: Define macro anv_debug()

This is a printf-like macro that prints a debug message to stderr when
built with DEBUG.  If no DEBUG, then do nothing.

Reviewed-by: Jason Ekstranad <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_private.h