Re: [Mesa-dev] [PATCH 1/2] nir/print: add support for print annotations

2016-05-15 Thread Jason Ekstrand
On May 14, 2016 12:48 PM, "Rob Clark" wrote: > > From: Rob Clark > > Caller can pass a hashtable mapping NIR object (currently instr or var, > but I guess others could be added as needed) to annotation msg to print > inline with the shader dump. As the annotation msg is printed, it is > removed

Re: [Mesa-dev] [PATCH 1/2] nir/print: add support for print annotations

2016-05-15 Thread Rob Clark
On Sun, May 15, 2016 at 1:53 PM, Eduardo Lima Mitev wrote: > On 05/15/2016 03:23 PM, Rob Clark wrote: >> On Sun, May 15, 2016 at 8:52 AM, Eduardo Lima Mitev wrote: >>> On 05/14/2016 09:47 PM, Rob Clark wrote: From: Rob Clark Caller can pass a hashtable mapping NIR object (currentl

Re: [Mesa-dev] [PATCH 1/2] nir/print: add support for print annotations

2016-05-15 Thread Eduardo Lima Mitev
On 05/15/2016 03:23 PM, Rob Clark wrote: > On Sun, May 15, 2016 at 8:52 AM, Eduardo Lima Mitev wrote: >> On 05/14/2016 09:47 PM, Rob Clark wrote: >>> From: Rob Clark >>> >>> Caller can pass a hashtable mapping NIR object (currently instr or var, >>> but I guess others could be added as needed) to

Re: [Mesa-dev] [PATCH 1/2] nir/print: add support for print annotations

2016-05-15 Thread Connor Abbott
On Sun, May 15, 2016 at 8:52 AM, Eduardo Lima Mitev wrote: > On 05/14/2016 09:47 PM, Rob Clark wrote: >> From: Rob Clark >> >> Caller can pass a hashtable mapping NIR object (currently instr or var, >> but I guess others could be added as needed) to annotation msg to print >> inline with the shad

Re: [Mesa-dev] [PATCH 1/2] nir/print: add support for print annotations

2016-05-15 Thread Rob Clark
On Sun, May 15, 2016 at 8:52 AM, Eduardo Lima Mitev wrote: > On 05/14/2016 09:47 PM, Rob Clark wrote: >> From: Rob Clark >> >> Caller can pass a hashtable mapping NIR object (currently instr or var, >> but I guess others could be added as needed) to annotation msg to print >> inline with the shad

Re: [Mesa-dev] [PATCH 1/2] nir/print: add support for print annotations

2016-05-15 Thread Eduardo Lima Mitev
On 05/14/2016 09:47 PM, Rob Clark wrote: > From: Rob Clark > > Caller can pass a hashtable mapping NIR object (currently instr or var, > but I guess others could be added as needed) to annotation msg to print > inline with the shader dump. As the annotation msg is printed, it is > removed from t

[Mesa-dev] [PATCH 1/2] nir/print: add support for print annotations

2016-05-14 Thread Rob Clark
From: Rob Clark Caller can pass a hashtable mapping NIR object (currently instr or var, but I guess others could be added as needed) to annotation msg to print inline with the shader dump. As the annotation msg is printed, it is removed from the hashtable to give the caller a way to know about a