panfrost: Do fine-grained flushing for occlusion query results
authorIcecream95 <ixn@keemail.me>
Sun, 28 Jun 2020 08:48:36 +0000 (20:48 +1200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 30 Jun 2020 15:14:05 +0000 (15:14 +0000)
commit3e3958c44f78e882468a092557ec6b0b1404bc54
tree6c3673510cc4eb6d45eb7640e6cfa4408ee7032e
parentb1d309eaa39a695da5adc7dfd663cb2a4179710e
panfrost: Do fine-grained flushing for occlusion query results

This allows doing occlusion queries in one frame and getting the
results in the next frame without having to flush.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5676>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_context.c