gallivm: add barrier support for compute shaders.
authorDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 02:50:35 +0000 (12:50 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Sep 2019 05:22:20 +0000 (15:22 +1000)
commit83597ad3f2c157733f9a1bc81242b7e2b7026c9b
tree03f214c50c6b6b20abcc5fa5178b66f4b460c7d6
parent1b24e3ba756ba4951086d0b1b351364acbd3af1d
gallivm: add barrier support for compute shaders.

When the code is executing an hits a barrier, it will suspend
the coroutine and return control to the coroutine dispatcher.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c