Mesa (master): panfrost: Add helpers to support indirect draws
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 7 09:12:39 UTC 2021
Module: Mesa
Branch: master
Commit: 2e6d94c198e4d10c82ed3ffd59e85f460bd58950
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e6d94c198e4d10c82ed3ffd59e85f460bd58950
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date: Mon Jan 25 13:14:49 2021 +0100
panfrost: Add helpers to support indirect draws
Indirect draws are implemented with compute jobs patching the
vertex/tiler jobs. Provide helpers to do that.
Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8700>
---
src/gallium/drivers/panfrost/pan_screen.c | 1 +
src/panfrost/Makefile.sources | 2 +
src/panfrost/lib/meson.build | 1 +
src/panfrost/lib/pan_device.h | 53 ++
src/panfrost/lib/pan_indirect_draw.c | 1313 +++++++++++++++++++++++++++++
src/panfrost/lib/pan_indirect_draw.h | 58 ++
6 files changed, 1428 insertions(+)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=2e6d94c198e4d10c82ed3ffd59e85f460bd58950
More information about the mesa-commit
mailing list