pan/midgard: Implement some compute builtins
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 6 Aug 2019 20:47:17 +0000 (13:47 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 12 Aug 2019 19:43:02 +0000 (12:43 -0700)
commit7229af794b824a3c117611319cc22054f47fbbe6
tree6af01c51ccb6adb8ea38b9a89e3a2b90561e53fb
parent2b4e579585de82f76ef86387f52b666b9de846e7
pan/midgard: Implement some compute builtins

We implement gl_WorkGroupID and gl_LocalInvocationID, which map to
ld_compute_id with special sources.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_compile.c