[Mesa-dev] [PATCH 00/21] nir: Functions!

Jordan Justen jordan.l.justen at intel.com
Thu Feb 25 03:15:11 UTC 2016


On 2016-02-13 22:01:46, Jordan Justen wrote:
> On 2016-02-13 18:14:17, Jason Ekstrand wrote:
> > 
> > Jason Ekstrand (21):
> >   nir/glsl: Remove dead function parameter handling code
> >   nir: Add a new "param" variable mode for parameters and return
> >     variables
> >   nir: Add a helper for creating a "bare" nir_function_impl
> 
> Yeah, I suppose you could move the param init bits to the next patch.
> It seems a little better, but also not too important to me.
> 
> >   nir: Create function parameters in function_impl_create
> >   nir/print: Factor variable name lookup into a helper
> >   nir/print: Better function argument printing
> >   nir/validate: Better function validation
> >   nir/clone: Add support for cloning a single function_impl
> 
> 1-8 Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
> 
> >   nir: Add a phi node placement helper
> >   nir/dominance: Handle unreachable blocks
> >   nir/vars_to_ssa: Use the new nir_phi_builder helper
> >   util/bitset: Allow iterating over const bitsets
> >   nir: Add a pass to repair SSA form
> >   nir/cf: Handle relinking top-level blocks
> >   nir: Add a function for comparing cursors
> >   nir/cf: Make extracting or re-inserting nothing a no-op
> >   nir/builder: Add a helper for inserting jump instructions
> >   nir: Add a cursor helper for getting a cursor after any phi nodes
> >   nir: Add return lowering pass

In the commit message, how about something like: "If the return is in
a loop, it is lowered to a break. (With a flag that we will need to
handle the return after the loop.)"

> >   nir/builder: Add helpers for easily inserting copy_var intrinsics
> >   nir: Add a pass to inline functions
> > 

Series Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>


More information about the mesa-dev mailing list