Re: [Mesa-dev] [PATCH] gallium/ttn: add support for temp arrays

2015-04-08 Thread Rob Clark
On Wed, Apr 8, 2015 at 11:14 AM, Eric Anholt wrote: > Rob Clark writes: > >> From: Rob Clark >> >> Since the rest of NIR really would rather have these as variables rather >> than registers, create a nir_variable per array. But rather than >> completely re-arrange ttn to be variable based rathe

Re: [Mesa-dev] [PATCH] gallium/ttn: add support for temp arrays

2015-04-08 Thread Eric Anholt
Rob Clark writes: > From: Rob Clark > > Since the rest of NIR really would rather have these as variables rather > than registers, create a nir_variable per array. But rather than > completely re-arrange ttn to be variable based rather than register > based, keep the registers. In the cases wh

Re: [Mesa-dev] [PATCH] gallium/ttn: add support for temp arrays

2015-04-07 Thread Jason Ekstrand
On Tue, Apr 7, 2015 at 1:30 PM, Rob Clark wrote: > From: Rob Clark > > Since the rest of NIR really would rather have these as variables rather > than registers, create a nir_variable per array. But rather than > completely re-arrange ttn to be variable based rather than register > based, keep t

[Mesa-dev] [PATCH] gallium/ttn: add support for temp arrays

2015-04-07 Thread Rob Clark
From: Rob Clark Since the rest of NIR really would rather have these as variables rather than registers, create a nir_variable per array. But rather than completely re-arrange ttn to be variable based rather than register based, keep the registers. In the cases where there is a matching var for