From f99eab23ad6d58e08336d862adcb642f9714eb51 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 28 Feb 2023 17:16:40 -0500 Subject: [PATCH] aux/trace: delete GALLIUM_TRACE_NIR log message this is not only annoying, it breaks trace xml output cc: mesa-stable Acked-by: Simon Zeni Part-of: --- src/gallium/auxiliary/driver_trace/tr_dump.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/auxiliary/driver_trace/tr_dump.c b/src/gallium/auxiliary/driver_trace/tr_dump.c index 47dc27f04b4..963c22fb693 100644 --- a/src/gallium/auxiliary/driver_trace/tr_dump.c +++ b/src/gallium/auxiliary/driver_trace/tr_dump.c @@ -663,12 +663,6 @@ void trace_dump_nir(void *nir) return; } - if ((nir_count--) == 0) { - fputs("Set GALLIUM_TRACE_NIR to a sufficiently big number " - "to enable NIR shader dumping.", stream); - return; - } - // NIR doesn't have a print to string function. Use CDATA and hope for the // best. if (stream) {