anv: Add a performance warning helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Mar 2017 17:13:15 +0000 (09:13 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Mar 2017 23:22:16 +0000 (15:22 -0800)
commit201fc83df742ddadcd725c25854ecd1fd399f982
tree56825ca919704d61e4dae3a9bc53491ba972fb5e
parent20234cfe3a204eda5abb4ed757ae775e82619ba7
anv: Add a performance warning helper

This acts identically to anv_finishme except that it only dumps out
these nice log messages if you run with INTEL_DEBUG=perf.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_private.h
src/intel/vulkan/anv_util.c