<div dir="ltr"><div><div>Connor,<br></div>You mentioned commit access. I'll try and poke someone, but if you resend with changes, I can get it pushed.<br></div>--Jason<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 11:45 AM, Jason Ekstrand <span dir="ltr"><<a href="mailto:jason@jlekstrand.net" target="_blank">jason@jlekstrand.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>There's still some cleanups needed for 2/5. The rest is<br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com" target="_blank">jason.ekstrand@intel.com</a>><div><div class="h5"><br><br><div><div><div><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 16, 2015 at 1:53 PM, Connor Abbott <span dir="ltr"><<a href="mailto:cwabbott0@gmail.com" target="_blank">cwabbott0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh, and I forgot... the series is also available at<br>
<br>
<a href="https://github.com/cwabbott0/mesa" target="_blank">https://github.com/cwabbott0/mesa</a> nir-opcodes-cleanup<br>
<div><div><br>
On Fri, Jan 16, 2015 at 4:46 PM, Connor Abbott <<a href="mailto:cwabbott0@gmail.com" target="_blank">cwabbott0@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> This is a series I had floating around a while. The idea is to have all the<br>
> opcode stuff, including constant folding, derived from a single Python file.<br>
> I've cleaned it up a little by using {}-style Python formatting instead of the<br>
> pile of text-replacement and regular expressions we had before for getting the<br>
> constant expressions to a state where they could be compiled as C code.<br>
><br>
> Connor Abbott (5):<br>
> nir: add generated file to .gitignore<br>
> nir: use Python to autogenerate opcode information<br>
> nir: add new constant folding infrastructure<br>
> nir/constant_folding: use the new constant folding infrastructure<br>
> nir/lower_vars_to_ssa: fix a bug with boolean constants<br>
><br>
> src/glsl/Makefile.am | 23 +-<br>
> src/glsl/Makefile.sources | 7 +-<br>
> src/glsl/nir/.gitignore | 4 +<br>
> src/glsl/nir/nir.h | 9 -<br>
> src/glsl/nir/nir_constant_expressions.h | 32 ++<br>
> src/glsl/nir/nir_constant_expressions.py | 320 +++++++++++++++++<br>
> src/glsl/nir/nir_lower_vars_to_ssa.c | 2 +-<br>
> src/glsl/nir/nir_opcodes.c | 46 ---<br>
> src/glsl/nir/nir_opcodes.h | 366 --------------------<br>
> src/glsl/nir/nir_opcodes.py | 567 +++++++++++++++++++++++++++++++<br>
> src/glsl/nir/nir_opcodes_c.py | 56 +++<br>
> src/glsl/nir/nir_opcodes_h.py | 39 +++<br>
> src/glsl/nir/nir_opt_constant_folding.c | 179 ++--------<br>
> 13 files changed, 1066 insertions(+), 584 deletions(-)<br>
> create mode 100644 src/glsl/nir/.gitignore<br>
> create mode 100644 src/glsl/nir/nir_constant_expressions.h<br>
> create mode 100644 src/glsl/nir/nir_constant_expressions.py<br>
> delete mode 100644 src/glsl/nir/nir_opcodes.c<br>
> delete mode 100644 src/glsl/nir/nir_opcodes.h<br>
> create mode 100644 src/glsl/nir/nir_opcodes.py<br>
> create mode 100644 src/glsl/nir/nir_opcodes_c.py<br>
> create mode 100644 src/glsl/nir/nir_opcodes_h.py<br>
><br>
> --<br>
> 2.1.0<br>
><br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div></div></div></div></div></div></div>
</blockquote></div><br></div></div></div></div></div>