<div dir="ltr"><div><div>Left a couple of tiny comments. With those fixed,<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br><br></div>Thanks for working on this!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 10, 2017 at 10:29 PM, Tapani Pälli <span dir="ltr"><<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here's v3 of VK_EXT_debug_report with fixes to issues found by Jason.<br>
<br>
Some example reports:<br>
<br>
real performance warning on Haswell:<br>
PERFORMANCE WARNING: [anv] Code 0 (loc 272) (type VK_DEBUG_REPORT_OBJECT_TYPE_<wbr>IMAGE_EXT) : vulkan/anv_image.c: Implement gen7 HiZ<br>
<br>
simulated error via vk_errorf:<br>
ERROR: [anv] Code 0 (loc 1038) (type VK_DEBUG_REPORT_OBJECT_TYPE_<wbr>DEVICE_EXT) : vulkan/anv_allocator.c:1038: game over man, game over (VK_ERROR_MEMORY_MAP_FAILED)<br>
<br>
(line number may be considered 'duplicate information' but on the other<br>
hand, app/layer might not print loc but just the message)<br>
<br>
<br>
Tapani Pälli (5):<br>
anv: implementation of VK_EXT_debug_report extension<br>
anv: wire up anv_perf_warn macro to do debug reporting<br>
anv: wire up vk_errorf macro to do debug reporting<br>
anv: move brw_process_intel_debug_<wbr>variable to happen early<br>
anv: remove extra 'debug:' from anv_debug_ignored_stype<br>
<br>
src/intel/Makefile.sources | 1 +<br>
src/intel/vulkan/anv_<wbr>allocator.c | 8 +-<br>
src/intel/vulkan/anv_debug_<wbr>report.c | 119 ++++++++++++++++++++++++++++<br>
src/intel/vulkan/anv_device.c | 79 +++++++++++++++----<br>
src/intel/vulkan/anv_<wbr>extensions.py | 1 +<br>
src/intel/vulkan/anv_formats.c | 3 +-<br>
src/intel/vulkan/anv_image.c | 12 +--<br>
src/intel/vulkan/anv_private.h | 151 ++++++++++++++++++++++++++++++<wbr>++++--<br>
src/intel/vulkan/anv_queue.c | 13 ++--<br>
src/intel/vulkan/anv_util.c | 38 +++++++--<br>
src/intel/vulkan/anv_wsi.c | 6 +-<br>
src/intel/vulkan/genX_cmd_<wbr>buffer.c | 15 ++--<br>
src/intel/vulkan/genX_query.c | 3 +-<br>
13 files changed, 397 insertions(+), 52 deletions(-)<br>
create mode 100644 src/intel/vulkan/anv_debug_<wbr>report.c<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.13.5<br>
<br>
</font></span></blockquote></div><br></div>