anv: Drop unused logging helpers
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13045>
This commit is contained in:

committed by
Marge Bot

parent
0cad3beb2a
commit
ab36efcb4c
@@ -421,8 +421,6 @@ void __anv_perf_warn(struct anv_device *device,
|
|||||||
const struct vk_object_base *object,
|
const struct vk_object_base *object,
|
||||||
const char *file, int line, const char *format, ...)
|
const char *file, int line, const char *format, ...)
|
||||||
anv_printflike(5, 6);
|
anv_printflike(5, 6);
|
||||||
void anv_loge(const char *format, ...) anv_printflike(1, 2);
|
|
||||||
void anv_loge_v(const char *format, va_list va);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Print a FINISHME message, including its source location.
|
* Print a FINISHME message, including its source location.
|
||||||
|
@@ -31,24 +31,6 @@
|
|||||||
#include "anv_private.h"
|
#include "anv_private.h"
|
||||||
#include "vk_enum_to_str.h"
|
#include "vk_enum_to_str.h"
|
||||||
|
|
||||||
/** Log an error message. */
|
|
||||||
void anv_printflike(1, 2)
|
|
||||||
anv_loge(const char *format, ...)
|
|
||||||
{
|
|
||||||
va_list va;
|
|
||||||
|
|
||||||
va_start(va, format);
|
|
||||||
anv_loge_v(format, va);
|
|
||||||
va_end(va);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** \see anv_loge() */
|
|
||||||
void
|
|
||||||
anv_loge_v(const char *format, va_list va)
|
|
||||||
{
|
|
||||||
mesa_loge_v(format, va);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
__anv_perf_warn(struct anv_device *device,
|
__anv_perf_warn(struct anv_device *device,
|
||||||
const struct vk_object_base *object,
|
const struct vk_object_base *object,
|
||||||
|
Reference in New Issue
Block a user