diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 5d7eee1b5ca..53ae4082157 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -3110,6 +3110,7 @@ bifrost_compile_shader_nir(nir_shader *nir, if (bifrost_debug & BIFROST_DBG_SHADERS && !skip_internal) { disassemble_bifrost(stdout, binary->data, binary->size, bifrost_debug & BIFROST_DBG_VERBOSE); + fflush(stdout); } /* Pad the shader with enough zero bytes to trick the prefetcher, diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index b6e6178056d..283afe63518 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -3197,6 +3197,7 @@ midgard_compile_shader_nir(nir_shader *nir, if ((midgard_debug & MIDGARD_DBG_SHADERS) && !nir->info.internal) { disassemble_midgard(stdout, binary->data, binary->size, inputs->gpu_id); + fflush(stdout); } if ((midgard_debug & MIDGARD_DBG_SHADERDB || inputs->shaderdb) &&