mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
panfrost: Force flush every compute job
This is of course suboptimal for performance, forcing each glDispatchCompute call to be submitted separately to the kernel and finish to completion. However, for the initial bring-up of compute jobs, this simplifies quite a bit. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
2efa025b05
commit
60d80157d1
1 changed files with 2 additions and 0 deletions
|
|
@ -130,6 +130,8 @@ panfrost_launch_grid(struct pipe_context *pipe,
|
|||
|
||||
/* Queue the job */
|
||||
panfrost_scoreboard_queue_compute_job(batch, transfer);
|
||||
|
||||
panfrost_flush(pipe, NULL, PIPE_FLUSH_END_OF_FRAME);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue