Re: [Mesa-dev] [PATCH 006.1/129] FIXUP! Don't reach through casts in get_variable

2018-06-01 Thread Jason Ekstrand
On Fri, Jun 1, 2018 at 1:34 PM, Rob Clark wrote: > On Fri, Jun 1, 2018 at 3:39 PM, Jason Ekstrand > wrote: > > If something uses get_variable, it's likely that it doesn't know what to > > do with casts. If there are any casts in the chain, just return NULL. > > --- > > src/compiler/nir/nir.h

Re: [Mesa-dev] [PATCH 006.1/129] FIXUP! Don't reach through casts in get_variable

2018-06-01 Thread Rob Clark
On Fri, Jun 1, 2018 at 3:39 PM, Jason Ekstrand wrote: > If something uses get_variable, it's likely that it doesn't know what to > do with casts. If there are any casts in the chain, just return NULL. > --- > src/compiler/nir/nir.h | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) >

[Mesa-dev] [PATCH 006.1/129] FIXUP! Don't reach through casts in get_variable

2018-06-01 Thread Jason Ekstrand
If something uses get_variable, it's likely that it doesn't know what to do with casts. If there are any casts in the chain, just return NULL. --- src/compiler/nir/nir.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index