etnaviv: add alternative NIR compiler

Graphics / Mesa 3D Graphics Library / Mesa - Jonathan Marek [marek.ca] - 6 August 2019 14:33 EDT

enable with ETNA_MESA_DEBUG=nir

ed7a27719a9 etnaviv: add alternative NIR compiler
src/gallium/drivers/etnaviv/Makefile.sources | 2 +
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 62 +-
src/gallium/drivers/etnaviv/etnaviv_compiler.h | 25 +-
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c | 853 ++++++++++++
.../drivers/etnaviv/etnaviv_compiler_nir_emit.h | 1396 ++++++++++++++++++++
src/gallium/drivers/etnaviv/etnaviv_debug.h | 1 +
src/gallium/drivers/etnaviv/etnaviv_screen.c | 36 +-
src/gallium/drivers/etnaviv/etnaviv_screen.h | 3 +
src/gallium/drivers/etnaviv/etnaviv_shader.c | 26 +-
src/gallium/drivers/etnaviv/etnaviv_shader.h | 14 +-
src/gallium/drivers/etnaviv/meson.build | 5 +-
src/gallium/winsys/etnaviv/drm/meson.build | 2 +-
12 files changed, 2388 insertions(+), 37 deletions(-)

Upstream: cgit.freedesktop.org


  • Share