llvmpipe: introduce compute shader context
authorDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 03:19:00 +0000 (13:19 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Sep 2019 05:22:20 +0000 (15:22 +1000)
commitadd0b151f524aa800d574ebfeddfb77a06f4e937
treeee99eaf1d7a48be32853cab69db9de3aa64fa555
parent83597ad3f2c157733f9a1bc81242b7e2b7026c9b
llvmpipe: introduce compute shader context

The compute shader will need it's own context like the frag shader
has, this just introduces the framework struct and allocates/frees
for it in the right places.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/Makefile.sources
src/gallium/drivers/llvmpipe/lp_context.c
src/gallium/drivers/llvmpipe/lp_context.h
src/gallium/drivers/llvmpipe/lp_state_cs.c [new file with mode: 0644]
src/gallium/drivers/llvmpipe/lp_state_cs.h [new file with mode: 0644]
src/gallium/drivers/llvmpipe/meson.build