v3d: Add Compute Shader compilation support.
authorEric Anholt <eric@anholt.net>
Wed, 5 Dec 2018 23:41:35 +0000 (15:41 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 12 Apr 2019 22:59:31 +0000 (15:59 -0700)
commit6b1c6598250955552439c3320bf26de6458c5281
tree426f6d2c75340f8e186813ab2bcd4ac7a67e098a
parent1e0a72ce096bf368e184acfbeed28916cc0e968f
v3d: Add Compute Shader compilation support.

While waiting for the CSD UABI to get reviewed, I keep having to rebase
the CS patch.  Just land the compiler side for now to keep it from
diverging.

For now this covers just GLES 3.1 compute shaders, not CL kernels.
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir.c
src/gallium/drivers/v3d/v3d_context.h
src/gallium/drivers/v3d/v3d_program.c
src/gallium/drivers/v3d/v3d_screen.c
src/gallium/drivers/v3d/v3d_screen.h
src/gallium/drivers/v3d/v3d_uniforms.c
src/gallium/drivers/v3d/v3dx_draw.c