lima: implement lima-specific blitter

It should be more efficient than u_blitter since it skips
vertex shader stage. Also it's a prerequisite for supporting
MSAA since u_blitter can't do MSAA resolve for us.

Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16686>
This commit is contained in:
Vasily Khoruzhick
2022-05-23 17:25:46 -07:00
committed by Marge Bot
parent 133620196d
commit 570020c810
13 changed files with 413 additions and 127 deletions

View File

@@ -68,10 +68,14 @@ accepts the following comma-separated list of flags:
``bocache``
print debug info for BO cache
``diskcache``
print debug info for shader disk cache
``dump``
dump GPU command stream to ``$PWD/lima.dump``
``gp``
print GP shader compiler result of each stage
``noblit``
use generic u_blitter instead of lima-specific
``nobocache``
disable BO cache
``nogrowheap``
@@ -87,6 +91,7 @@ accepts the following comma-separated list of flags:
``singlejob``
disable multi job optimization
.. envvar:: LIMA_CTX_NUM_PLB <int> (None)
set number of PLB per context (used for development purposes)