util: remove unused debug_print_blob
Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>
This commit is contained in:
committed by
Marge Bot
parent
c43c640809
commit
dc0de85fed
@@ -100,24 +100,6 @@ debug_disable_win32_error_dialogs(void)
|
||||
}
|
||||
#endif /* _WIN32 */
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
void
|
||||
debug_print_blob(const char *name, const void *blob, unsigned size)
|
||||
{
|
||||
const unsigned *ublob = (const unsigned *)blob;
|
||||
unsigned i;
|
||||
|
||||
debug_printf("%s (%d dwords%s)\n", name, size/4,
|
||||
size%4 ? "... plus a few bytes" : "");
|
||||
|
||||
for (i = 0; i < size/4; i++) {
|
||||
debug_printf("%d:\t%08x\n", i, ublob[i]);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static bool
|
||||
debug_get_option_should_print(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user