radeonsi: move shader debug helpers out of r600_pipe_common.c
[mesa.git] / src / gallium / drivers / radeonsi / si_state_shaders.c
index 513e30b6abef4b36b9445ecea419112918608a00..53955307b4fbd04656a0548cfc1df47de3ea273b 100644 (file)
@@ -2272,7 +2272,7 @@ static void *si_create_shader_selector(struct pipe_context *ctx,
        bool wait =
                (sctx->debug.debug_message && !sctx->debug.async) ||
                sctx->is_debug ||
-               si_can_dump_shader(&sscreen->b, sel->info.processor);
+               si_can_dump_shader(sscreen, sel->info.processor);
 
        if (wait) {
                u_async_debug_init(&async_debug);