diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 8c016ba65ab..d0e481a3f15 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -801,6 +801,9 @@ static void si_launch_grid( si_need_cs_space(sctx); + if (sctx->b.log) + si_log_compute_state(sctx, sctx->b.log); + if (!sctx->cs_shader_state.initialized) si_initialize_compute(sctx); @@ -847,6 +850,9 @@ static void si_launch_grid( si_ce_post_draw_synchronization(sctx); + if (unlikely(sctx->current_saved_cs)) + si_trace_emit(sctx); + sctx->compute_is_busy = true; sctx->b.num_compute_calls++; if (sctx->cs_shader_state.uses_scratch) |