Re: [Mesa-dev] [PATCH] nir: silence compiler warning from visit_src() call

2015-01-15 Thread Connor Abbott
Btw, apparently nir_validate.c has the same problem on line 391. On Thu, Jan 15, 2015 at 6:31 PM, Connor Abbott wrote: > Reviewed-by: Connor Abbott > > On Thu, Jan 15, 2015 at 6:16 PM, Brian Paul wrote: >> v2: use proper argument >> --- >> src/glsl/nir/nir.c | 2 +- >> 1 file changed, 1 insert

Re: [Mesa-dev] [PATCH] nir: silence compiler warning from visit_src() call

2015-01-15 Thread Connor Abbott
Reviewed-by: Connor Abbott On Thu, Jan 15, 2015 at 6:16 PM, Brian Paul wrote: > v2: use proper argument > --- > src/glsl/nir/nir.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c > index f112db8..81dec1c 100644 > --- a/src/glsl/ni

[Mesa-dev] [PATCH] nir: silence compiler warning from visit_src() call

2015-01-15 Thread Brian Paul
v2: use proper argument --- src/glsl/nir/nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index f112db8..81dec1c 100644 --- a/src/glsl/nir/nir.c +++ b/src/glsl/nir/nir.c @@ -1541,7 +1541,7 @@ static bool visit_tex_src(nir_tex_instr

Re: [Mesa-dev] [PATCH] nir: silence compiler warning from visit_src() call

2015-01-15 Thread Connor Abbott
On Thu, Jan 15, 2015 at 5:28 PM, Brian Paul wrote: > Warning seen with gcc 4.8.2 > --- > src/glsl/nir/nir.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c > index f112db8..6d6f910 100644 > --- a/src/glsl/nir/nir.c > +++ b/src/glsl/

[Mesa-dev] [PATCH] nir: silence compiler warning from visit_src() call

2015-01-15 Thread Brian Paul
Warning seen with gcc 4.8.2 --- src/glsl/nir/nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index f112db8..6d6f910 100644 --- a/src/glsl/nir/nir.c +++ b/src/glsl/nir/nir.c @@ -1541,7 +1541,7 @@ static bool visit_tex_src(nir_tex_in