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) {