diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-08 07:46:54 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-13 09:43:11 -0700 |
commit | 9b2514d6c6e3b5cfa12e347b0aa100406338d26f (patch) | |
tree | 184dad46465f67e3c6f46182f68b2beb8b2d7498 /src/gallium | |
parent | 4b0001c42df10134e792fcd7879e997b0ae4cdbf (diff) |
panfrost: Flush when using transform feedback
This is a huge hack to workaround incomplete BO flushing logic, but it's
enough for the dEQP transform feedback tests, and doing the resource
management to get this right is out-of-scope for this patch series.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 661c1474cd5..7c4c0f76984 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2629,6 +2629,7 @@ panfrost_get_query_result(struct pipe_context *pipe, case PIPE_QUERY_PRIMITIVES_GENERATED: case PIPE_QUERY_PRIMITIVES_EMITTED: + panfrost_flush(pipe, NULL, PIPE_FLUSH_END_OF_FRAME); vresult->u64 = query->end - query->start; break; |