Re: [Mesa-dev] [RFC] nir: const_index sanity

2016-01-13 Thread Jason Ekstrand
On Jan 13, 2016 4:03 PM, "Rob Clark" wrote: > > From: Rob Clark > > --- > An idea for how to bring some sanity to the wild-west of intrinsic > const_index[] usage. Also w/ nir_print support, which could be > split into other patch, but makes the nir_print output a bit nicer: > > intrinsic stor

[Mesa-dev] [RFC] nir: const_index sanity

2016-01-13 Thread Rob Clark
From: Rob Clark --- An idea for how to bring some sanity to the wild-west of intrinsic const_index[] usage. Also w/ nir_print support, which could be split into other patch, but makes the nir_print output a bit nicer: intrinsic store_output (ssa_210, ssa_66) () (0, 15) /* base=0 wrmask=xyzw *