radv: move RADV_TRACE_FILE functions to radv_debug.c
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 30 Aug 2017 13:12:20 +0000 (15:12 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 1 Sep 2017 07:41:54 +0000 (09:41 +0200)
commitad42e2abb8507dd85f07e5aad539154b0d5c78ea
treeee3d314099e77179f70231136b8ae2d06659197d
parentf1f2f00f6ac3eb8ccdae4ad4aedfce354ae01e41
radv: move RADV_TRACE_FILE functions to radv_debug.c

At the moment, debugging radv is not really easy because the
driver doesn't report enough information when it hangs. This
new file will be the main location for all debug tools.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/Makefile.sources
src/amd/vulkan/radv_debug.c [new file with mode: 0644]
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_meta_clear.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_pipeline_cache.c
src/amd/vulkan/radv_private.h