radeonsi: move shader debug helpers out of r600_pipe_common.c
[mesa.git] / src / gallium / drivers / radeonsi / si_compute.c
index dc409895602a5240357da431898f9029082d30f1..f3dce65e3dd58c287b83a2934d8ae724b793c86d 100644 (file)
@@ -178,7 +178,7 @@ static void *si_create_compute_state(
                bool wait =
                        (sctx->debug.debug_message && !sctx->debug.async) ||
                        sctx->is_debug ||
-                       si_can_dump_shader(&sscreen->b, PIPE_SHADER_COMPUTE);
+                       si_can_dump_shader(sscreen, PIPE_SHADER_COMPUTE);
 
                if (wait) {
                        u_async_debug_init(&async_debug);