nir: Add a naieve from-SSA pass
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Oct 2014 18:22:53 +0000 (11:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:18:59 +0000 (07:18 -0800)
commit2943522d80393d7996f3aeec173df399d8bd9bbc
tree675902d02826ea5e656f21c390db92f3856b2738
parentff0a9fcf332ce319fae1eb53f3e5d863d0289cbf
nir: Add a naieve from-SSA pass

This pass is kind of stupidly implemented but it should be enough to get us
up and going.  We probably want something better that doesn't generate all
of the redundant moves eventually.  However, the i965 backend should be
able to handle the movs, so I'm not too worried about it in the short term.
src/glsl/Makefile.sources
src/glsl/nir/nir.h
src/glsl/nir/nir_from_ssa.c [new file with mode: 0644]