Module: Mesa
Branch: master
Commit: 2e6d94c198e4d10c82ed3ffd59e85f460bd58950
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e6d94c198e4d10c82ed3ffd59e85f460bd58950

Author: Boris Brezillon <[email protected]>
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 <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
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
_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to