Re: [Mesa-dev] [PATCH] tgsi/scan: add support to figure out max nesting depth

2015-09-10 Thread Brian Paul
On 09/09/2015 04:47 PM, Kenneth Graunke wrote: On Wednesday, September 09, 2015 06:31:06 PM Rob Clark wrote: From: Rob Clark Sometimes a useful thing for compilers (or, for example, tgsi_to_nir) to know. And pretty trivial for scan to figure this out for us. Signed-off-by: Rob Clark --- s

Re: [Mesa-dev] [PATCH] tgsi/scan: add support to figure out max nesting depth

2015-09-09 Thread Kenneth Graunke
On Wednesday, September 09, 2015 06:31:06 PM Rob Clark wrote: > From: Rob Clark > > Sometimes a useful thing for compilers (or, for example, tgsi_to_nir) to > know. And pretty trivial for scan to figure this out for us. > > Signed-off-by: Rob Clark > --- > src/gallium/auxiliary/tgsi/tgsi_scan

[Mesa-dev] [PATCH] tgsi/scan: add support to figure out max nesting depth

2015-09-09 Thread Rob Clark
From: Rob Clark Sometimes a useful thing for compilers (or, for example, tgsi_to_nir) to know. And pretty trivial for scan to figure this out for us. Signed-off-by: Rob Clark --- src/gallium/auxiliary/tgsi/tgsi_scan.c | 16 src/gallium/auxiliary/tgsi/tgsi_scan.h | 5 + 2