panfrost: Flush everything for glMemoryBarrier
This is inefficient but so far I see the DDK doing the same thing. Fixes KHR-GLES31.core.shader_storage_buffer_object.advanced-usage-sync-vsfs In the future we should look into cache flush jobs. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
This commit is contained in:
parent
29012d96b8
commit
293ea1959c
|
@ -247,7 +247,9 @@ panfrost_set_global_binding(struct pipe_context *pctx,
|
|||
static void
|
||||
panfrost_memory_barrier(struct pipe_context *pctx, unsigned flags)
|
||||
{
|
||||
/* TODO */
|
||||
/* TODO: Be smart and only flush the minimum needed, maybe emitting a
|
||||
* cache flush job if that would help */
|
||||
panfrost_flush_all_batches(pan_context(pctx));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue