unsigned vertex = panfrost_add_job(&batch->pool, &batch->scoreboard,
MALI_JOB_TYPE_VERTEX, false, false,
- 0, vertex_job, false);
+ 0, 0, vertex_job, false);
if (ctx->rasterizer->base.rasterizer_discard)
return;
panfrost_add_job(&batch->pool, &batch->scoreboard, MALI_JOB_TYPE_TILER,
- false, false, vertex, tiler_job, false);
+ false, false, vertex, 0, tiler_job, false);
}
pan_section_pack(t.cpu, COMPUTE_JOB, DRAW_PADDING, cfg);
panfrost_add_job(&batch->pool, &batch->scoreboard,
- MALI_JOB_TYPE_COMPUTE, true, false, 0, &t, true);
+ MALI_JOB_TYPE_COMPUTE, true, false, 0, 0, &t, true);
panfrost_flush_all_batches(ctx);
}
1, vertex_count, 1, 1, 1, 1, true);
panfrost_add_job(pool, scoreboard, MALI_JOB_TYPE_TILER, false, false,
- 0, &t, true);
+ 0, 0, &t, true);
}
static void
}
panfrost_add_job(pool, scoreboard, MALI_JOB_TYPE_TILER, false, false,
- 0, &t, true);
+ 0, 0, &t, true);
}
struct pan_scoreboard *scoreboard,
enum mali_job_type type,
bool barrier, bool suppress_prefetch,
- unsigned local_dep,
+ unsigned local_dep, unsigned global_dep,
const struct panfrost_ptr *job,
bool inject)
{
- unsigned global_dep = 0;
-
if (type == MALI_JOB_TYPE_TILER) {
/* Tiler jobs must be chained, and on Midgard, the first tiler
* job must depend on the write value job, whose index we
struct pan_scoreboard *scoreboard,
enum mali_job_type type,
bool barrier, bool suppress_prefetch,
- unsigned local_dep,
+ unsigned local_dep, unsigned global_dep,
const struct panfrost_ptr *job,
bool inject);