llvmpipe: add compute shader generation.
authorDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 04:57:54 +0000 (14:57 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Sep 2019 05:22:20 +0000 (15:22 +1000)
commitb320830bbd6a118f2944b9d075e104a26c886606
tree874665e89c005bae0581fe1c9ab76b77d5bfcb9b
parent6ea41df94cbb090e375594c3d32e3bb667485cba
llvmpipe: add compute shader generation.

This creates the coroutine execution environment and the
main compute shaders that get executed inside it.

Each compute shader block is executed in it's own coroutine
execution shader, which each "thread" being a coroutine executed
inside it in sequence.

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