freedreno: move ir3 to common location
authorRob Clark <robdclark@gmail.com>
Sat, 10 Nov 2018 17:05:59 +0000 (12:05 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 27 Nov 2018 20:44:02 +0000 (15:44 -0500)
commitaa0fed10d3574aec8c129bace78018ae060484c0
tree2fee64028d47f6112f881903848a126da35eb5ea
parent556eec249d6d81be88389784ce5f2583712d85d5
freedreno: move ir3 to common location

Move (most of) the ir3 compiler to src/freedreno/ir3 so that it can be
re-used by some future vulkan driver.  The parts that are gallium
specific have been refactored out and remain in the gallium driver.

Getting the move done now so that it can happen before further
refactoring to support a6xx specific instructions.

NOTE also removes ir3_cmdline compiler tool from autotools build since
that was easier than fixing it and I normally use meson build.  Waiting
patiently for the day that we can remove *everything* from the autotools
build.

Signed-off-by: Rob Clark <robdclark@gmail.com>
64 files changed:
src/freedreno/Makefile.am
src/freedreno/Makefile.sources
src/freedreno/ir3/disasm-a3xx.c [new file with mode: 0644]
src/freedreno/ir3/instr-a3xx.h [new file with mode: 0644]
src/freedreno/ir3/ir3.c [new file with mode: 0644]
src/freedreno/ir3/ir3.h [new file with mode: 0644]
src/freedreno/ir3/ir3_compiler.c [new file with mode: 0644]
src/freedreno/ir3/ir3_compiler.h [new file with mode: 0644]
src/freedreno/ir3/ir3_compiler_nir.c [new file with mode: 0644]
src/freedreno/ir3/ir3_cp.c [new file with mode: 0644]
src/freedreno/ir3/ir3_depth.c [new file with mode: 0644]
src/freedreno/ir3/ir3_group.c [new file with mode: 0644]
src/freedreno/ir3/ir3_legalize.c [new file with mode: 0644]
src/freedreno/ir3/ir3_nir.c [new file with mode: 0644]
src/freedreno/ir3/ir3_nir.h [new file with mode: 0644]
src/freedreno/ir3/ir3_nir_lower_tg4_to_tex.c [new file with mode: 0644]
src/freedreno/ir3/ir3_nir_trig.py [new file with mode: 0644]
src/freedreno/ir3/ir3_print.c [new file with mode: 0644]
src/freedreno/ir3/ir3_ra.c [new file with mode: 0644]
src/freedreno/ir3/ir3_sched.c [new file with mode: 0644]
src/freedreno/ir3/ir3_shader.c [new file with mode: 0644]
src/freedreno/ir3/ir3_shader.h [new file with mode: 0644]
src/freedreno/ir3/meson.build [new file with mode: 0644]
src/freedreno/meson.build
src/gallium/drivers/freedreno/Automake.inc
src/gallium/drivers/freedreno/Makefile.am
src/gallium/drivers/freedreno/Makefile.sources
src/gallium/drivers/freedreno/a3xx/fd3_context.h
src/gallium/drivers/freedreno/a3xx/fd3_program.h
src/gallium/drivers/freedreno/a3xx/fd3_screen.c
src/gallium/drivers/freedreno/a4xx/fd4_context.h
src/gallium/drivers/freedreno/a4xx/fd4_program.h
src/gallium/drivers/freedreno/a4xx/fd4_screen.c
src/gallium/drivers/freedreno/a5xx/fd5_context.h
src/gallium/drivers/freedreno/a5xx/fd5_program.h
src/gallium/drivers/freedreno/a5xx/fd5_screen.c
src/gallium/drivers/freedreno/a6xx/fd6_context.h
src/gallium/drivers/freedreno/a6xx/fd6_program.h
src/gallium/drivers/freedreno/a6xx/fd6_screen.c
src/gallium/drivers/freedreno/ir3/disasm-a3xx.c [deleted file]
src/gallium/drivers/freedreno/ir3/instr-a3xx.h [deleted file]
src/gallium/drivers/freedreno/ir3/ir3.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3.h [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_cache.h
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
src/gallium/drivers/freedreno/ir3/ir3_compiler.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_compiler.h [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_cp.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_depth.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_gallium.c
src/gallium/drivers/freedreno/ir3/ir3_gallium.h
src/gallium/drivers/freedreno/ir3/ir3_group.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_legalize.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_nir.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_nir.h [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_nir_lower_tg4_to_tex.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_nir_trig.py [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_print.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_ra.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_sched.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_shader.c [deleted file]
src/gallium/drivers/freedreno/ir3/ir3_shader.h [deleted file]
src/gallium/drivers/freedreno/meson.build