freedreno/computerator: add computerator
authorRob Clark <robdclark@chromium.org>
Sun, 23 Feb 2020 19:53:32 +0000 (11:53 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 21:31:53 +0000 (21:31 +0000)
commit2275343ba346b04ebf8bafbaedfcd707702f9c06
tree1d1899d5cfc2ffdaeb6e16a8831bcdee0c46c06a
parent568e948d1fda10d825cf99f3cb05609c4ff248bd
freedreno/computerator: add computerator

A standalone tool to compile and run compute shaders from ir3 assembly.
Mostly to have an easy way to experiment with instructions.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3926>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3926>
12 files changed:
src/freedreno/computerator/README.rst [new file with mode: 0644]
src/freedreno/computerator/a6xx.c [new file with mode: 0644]
src/freedreno/computerator/examples/invocationid.asm [new file with mode: 0644]
src/freedreno/computerator/examples/simple.asm [new file with mode: 0644]
src/freedreno/computerator/ir3_asm.c [new file with mode: 0644]
src/freedreno/computerator/ir3_asm.h [new file with mode: 0644]
src/freedreno/computerator/ir3_lexer.l
src/freedreno/computerator/ir3_parser.y
src/freedreno/computerator/main.c [new file with mode: 0644]
src/freedreno/computerator/main.h [new file with mode: 0644]
src/freedreno/computerator/meson.build [new file with mode: 0644]
src/freedreno/meson.build