vulkan: move anv VK_EXT_debug_report implementation to common code.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 9 Jan 2018 02:22:56 +0000 (03:22 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 17 Jan 2018 10:27:52 +0000 (11:27 +0100)
commite5b1bd6ab8f5c1d9bf6a90b7003dc336cbe3cf93
treeda5589535c0f1ebe2dcb3d441eb12ea06c85f5ac
parentf69cbb2b53ac3edf7b201ba77430a61471edfa6e
vulkan: move anv VK_EXT_debug_report implementation to common code.

For also using it in radv. I moved the remaining stubs back to
anv_device.c as they were just trivial.

This does not move the vk_errorf/anv_perf_warn or the object
type macros, as those depend on anv types and logging.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/Makefile.sources
src/intel/vulkan/anv_debug_report.c [deleted file]
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/anv_util.c
src/intel/vulkan/meson.build
src/vulkan/Makefile.sources
src/vulkan/util/meson.build
src/vulkan/util/vk_debug_report.c [new file with mode: 0644]
src/vulkan/util/vk_debug_report.h [new file with mode: 0644]