llvmpipe: add grid launch
authorDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 05:02:32 +0000 (15:02 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Sep 2019 05:22:20 +0000 (15:22 +1000)
commit50fde5b20801a82bd95f14301707c32cf5df38a2
tree4ed0aeb7eff2e52fd17ffe97a65583bce582bf24
parentb320830bbd6a118f2944b9d075e104a26c886606
llvmpipe: add grid launch

This adds the dispatch code. It creates a job for the number
of blocks in the grid, and dispatches them to the threadpool
implementation. The threadpool then calls the JIT code to
execute the coroutines.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_cs.c