Hi; Here's implementation for VK_EXT_debug_report extension and a patch to wire up anv_perf_warn macro to use debug reporting. If this seems good approach plan is would be to start wiring more like vk_errorf, vk_error and spirv error reporting. Also maybe add more info type messages where we'd like more verbose output.
Thanks; Tapani Pälli (2): anv: implementation of VK_EXT_debug_report extension anv: wire up anv_perf_warn macro to do debug reporting src/intel/Makefile.sources | 1 + src/intel/vulkan/anv_debug_report.c | 133 +++++++++++++++++++++++++++++++++ src/intel/vulkan/anv_device.c | 43 ++++++++++- src/intel/vulkan/anv_extensions.py | 1 + src/intel/vulkan/anv_image.c | 12 +-- src/intel/vulkan/anv_private.h | 144 +++++++++++++++++++++++++++++++++++- src/intel/vulkan/anv_util.c | 18 ++++- src/intel/vulkan/genX_cmd_buffer.c | 12 ++- 8 files changed, 348 insertions(+), 16 deletions(-) create mode 100644 src/intel/vulkan/anv_debug_report.c -- 2.13.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev