Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-09 Thread Dylan Baker
Quoting Dylan Baker (2016-06-09 15:06:42) > Quoting Emil Velikov (2016-06-09 14:12:46) > > On 9 June 2016 at 21:56, Dylan Baker wrote: > > > Emil, should this take an argument, or is it fine as is? I was going to > > > ask Matt, but he's on vacation... > > > > > As Jason, suggested - it's better i

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-09 Thread Dylan Baker
Quoting Emil Velikov (2016-06-09 14:12:46) > On 9 June 2016 at 21:56, Dylan Baker wrote: > > Emil, should this take an argument, or is it fine as is? I was going to > > ask Matt, but he's on vacation... > > > As Jason, suggested - it's better if the build provides the output > filename. Can we ple

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-09 Thread Emil Velikov
On 9 June 2016 at 21:56, Dylan Baker wrote: > Emil, should this take an argument, or is it fine as is? I was going to > ask Matt, but he's on vacation... > As Jason, suggested - it's better if the build provides the output filename. Can we please do that ? IIRC some of the existing python scripts

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-09 Thread Dylan Baker
Emil, should this take an argument, or is it fine as is? I was going to ask Matt, but he's on vacation... Dylan signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-08 Thread Dylan Baker
[snip] Quoting Jason Ekstrand (2016-06-08 16:20:33) > gen_format_layout.c.mako > > I made this comment in the office today but I think the mako here is simple > enough that we might be better off just putting it all in one file. > I know you're not a fan of separate templates, and if the consen

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-08 Thread Jason Ekstrand
On Jun 7, 2016 5:32 PM, "Dylan Baker" wrote: > > This replaces the current bash generator with a python based generator > using mako. It's quite fast and works with both python 2.7 and python > 3.5, and should work with 3.3+ and maybe even 3.2. > > It produces an almost identical file except for a

[Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-07 Thread Dylan Baker
This replaces the current bash generator with a python based generator using mako. It's quite fast and works with both python 2.7 and python 3.5, and should work with 3.3+ and maybe even 3.2. It produces an almost identical file except for a minor layout changes, and the addition of a "generated f