gallivm/llvmpipe: add support for work dimension intrinsic.
authorDave Airlie <airlied@redhat.com>
Tue, 10 Dec 2019 04:51:57 +0000 (14:51 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Dec 2019 03:26:32 +0000 (13:26 +1000)
commit336954f7e740006591cfa523018e4a83143e8281
treeec2e18701d007296156a45201597fe16ca66545c
parentb8d403c03fc84df3741711ed5e44b2247a39f425
gallivm/llvmpipe: add support for work dimension intrinsic.

We have to pass the work_dim given by the user into the shader.

Acked-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/drivers/llvmpipe/lp_jit.h
src/gallium/drivers/llvmpipe/lp_state_cs.c