Re: [Mesa-dev] [PATCH 2/6] nir: Implement a Mesa IR -> NIR translator.

2015-03-25 Thread Emil Velikov
On 24 March 2015 at 22:18, Kenneth Graunke wrote: > On Tuesday, March 24, 2015 08:52:01 PM Emil Velikov wrote: >> Hi Ken, >> >> On 24/03/15 00:37, Kenneth Graunke wrote: >> > Shamelessly ripped off from Eric Anholt's tgsi_to_nir pass. >> > >> > Not compiled on SCons, like the rest of NIR. >> > >>

Re: [Mesa-dev] [PATCH 2/6] nir: Implement a Mesa IR -> NIR translator.

2015-03-24 Thread Eric Anholt
Kenneth Graunke writes: > Shamelessly ripped off from Eric Anholt's tgsi_to_nir pass. > > Not compiled on SCons, like the rest of NIR. > > Signed-off-by: Kenneth Graunke Nice. I think at some point we'll want a lowering pass for texture projection. The recommendation to do fsub in algebraic i

Re: [Mesa-dev] [PATCH 2/6] nir: Implement a Mesa IR -> NIR translator.

2015-03-24 Thread Kenneth Graunke
On Tuesday, March 24, 2015 08:52:01 PM Emil Velikov wrote: > Hi Ken, > > On 24/03/15 00:37, Kenneth Graunke wrote: > > Shamelessly ripped off from Eric Anholt's tgsi_to_nir pass. > > > > Not compiled on SCons, like the rest of NIR. > > > > Signed-off-by: Kenneth Graunke > > --- > > src/mesa/Ma

Re: [Mesa-dev] [PATCH 2/6] nir: Implement a Mesa IR -> NIR translator.

2015-03-24 Thread Connor Abbott
On Mon, Mar 23, 2015 at 8:37 PM, Kenneth Graunke wrote: > Shamelessly ripped off from Eric Anholt's tgsi_to_nir pass. > > Not compiled on SCons, like the rest of NIR. > > Signed-off-by: Kenneth Graunke > --- > src/mesa/Makefile.am|2 + > src/mesa/Makefile.sources |

Re: [Mesa-dev] [PATCH 2/6] nir: Implement a Mesa IR -> NIR translator.

2015-03-24 Thread Emil Velikov
Hi Ken, On 24/03/15 00:37, Kenneth Graunke wrote: > Shamelessly ripped off from Eric Anholt's tgsi_to_nir pass. > > Not compiled on SCons, like the rest of NIR. > > Signed-off-by: Kenneth Graunke > --- > src/mesa/Makefile.am|2 + > src/mesa/Makefile.sources |5

[Mesa-dev] [PATCH 2/6] nir: Implement a Mesa IR -> NIR translator.

2015-03-23 Thread Kenneth Graunke
Shamelessly ripped off from Eric Anholt's tgsi_to_nir pass. Not compiled on SCons, like the rest of NIR. Signed-off-by: Kenneth Graunke --- src/mesa/Makefile.am|2 + src/mesa/Makefile.sources |5 + src/mesa/program/prog_instruction.h |2 + src/mesa/program/