mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 06:18:10 +02:00
pvr: consider barriers when calculating compute instances
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41545>
This commit is contained in:
parent
14b8d02130
commit
0433247dc3
1 changed files with 4 additions and 1 deletions
|
|
@ -6284,7 +6284,10 @@ static void pvr_compute_update_kernel(
|
|||
info.local_size[2] = 1U;
|
||||
|
||||
info.max_instances =
|
||||
pvr_compute_flat_slot_size(pdevice, coeff_regs, false, work_size);
|
||||
pvr_compute_flat_slot_size(pdevice,
|
||||
coeff_regs,
|
||||
cs_data->common.uses.barriers,
|
||||
work_size);
|
||||
|
||||
pvr_compute_generate_control_stream(csb, sub_cmd, &info);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue