I think I'll end up moving st_glsl_to_nir (plus the fxns only called from it) into a new file. But I think get_mesa_program_nir() and get_mesa_program_tgsi() could end up sharing more common code like I am doing w/ st_translate_xyz_program().. at least that is my current thinking..
BR, -R On Tue, Nov 10, 2015 at 10:47 AM, Marek Olšák <mar...@gmail.com> wrote: > In my opinion, glsl_to_nir should be in its own file and independent > of glsl_to_tgsi. > > Marek > > On Sun, Nov 8, 2015 at 9:12 PM, Rob Clark <robdcl...@gmail.com> wrote: >> --- >> src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 410 >> ++++++++++++++++++++++++++++- >> src/mesa/state_tracker/st_glsl_to_tgsi.h | 5 + >> src/mesa/state_tracker/st_program.c | 118 +++++++-- >> src/mesa/state_tracker/st_program.h | 6 + >> 4 files changed, 520 insertions(+), 19 deletions(-) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev