panfrost: Flush everything for glMemoryBarrier
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 7 Jun 2021 22:36:07 +0000 (18:36 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 18:06:11 +0000 (18:06 +0000)
commit293ea1959c17771f01b14532398ef59f36df0049
tree90d90e50aa9fb8c610020dee038cf6b7043bfcea
parent29012d96b85afdc460ad465b47afc4e74f9baba8
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>
src/gallium/drivers/panfrost/pan_compute.c