[Mesa-dev] [RFCv2 06/13] mesa/st: add support for NIR as possible driver IR

Rob Clark robdclark at gmail.com
Tue Nov 10 08:42:47 PST 2015


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 <maraeo at 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 <robdclark at 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(-)


More information about the mesa-dev mailing list