Module: Mesa Branch: master Commit: 0a179bb6e26b487356384c561dee6aefa9af5889 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a179bb6e26b487356384c561dee6aefa9af5889
Author: Eric Anholt <[email protected]> Date: Mon Aug 24 13:07:35 2020 -0700 st/mesa: Generate NIR for ATI_fragment_shader instead of TGSI. Compiling NIR is much less code, gives us optimization across drivers, and is one less chunk of TGSI in the mesa frontend. Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8118> --- .gitlab-ci/windows/quick_gl.txt | 11 +- src/mesa/Makefile.sources | 4 +- src/mesa/meson.build | 4 +- src/mesa/program/prog_to_nir.c | 30 +- src/mesa/program/prog_to_nir.h | 3 +- src/mesa/state_tracker/st_atifs_to_nir.c | 606 +++++++++++++++ .../{st_atifs_to_tgsi.h => st_atifs_to_nir.h} | 26 +- src/mesa/state_tracker/st_atifs_to_tgsi.c | 835 --------------------- src/mesa/state_tracker/st_atom_shader.c | 24 +- src/mesa/state_tracker/st_cb_program.c | 2 +- src/mesa/state_tracker/st_program.c | 87 +-- src/mesa/state_tracker/st_program.h | 2 +- 12 files changed, 696 insertions(+), 938 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=0a179bb6e26b487356384c561dee6aefa9af5889 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
