Re: [Mesa-dev] [PATCH 3/8] nir: add a helper for getting the bitmask for a variable's location

2017-09-25 Thread Kenneth Graunke
On Sunday, September 24, 2017 4:56:00 PM PDT Timothy Arceri wrote: > On 23/09/17 04:33, Kenneth Graunke wrote: [snip] > > This is duplicating the code in nir_gather_info.c pretty hard, but it > > doesn't handle patch variables, or scalar arrays with var->data.compact > > set (i.e. gl_ClipDistance

Re: [Mesa-dev] [PATCH 3/8] nir: add a helper for getting the bitmask for a variable's location

2017-09-24 Thread Timothy Arceri
On 23/09/17 04:33, Kenneth Graunke wrote: On Tuesday, September 12, 2017 4:37:30 PM PDT Timothy Arceri wrote: --- src/compiler/nir/nir.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index

Re: [Mesa-dev] [PATCH 3/8] nir: add a helper for getting the bitmask for a variable's location

2017-09-22 Thread Kenneth Graunke
On Tuesday, September 12, 2017 4:37:30 PM PDT Timothy Arceri wrote: > --- > src/compiler/nir/nir.h | 31 +++ > 1 file changed, 31 insertions(+) > > diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h > index fab2110f619..e52a1006896 100644 > ---

Re: [Mesa-dev] [PATCH 3/8] nir: add a helper for getting the bitmask for a variable's location

2017-09-14 Thread Eduardo Lima Mitev
On 09/13/2017 01:37 AM, Timothy Arceri wrote: > --- > src/compiler/nir/nir.h | 31 +++ > 1 file changed, 31 insertions(+) > > diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h > index fab2110f619..e52a1006896 100644 > --- a/src/compiler/nir/nir.h > +++

[Mesa-dev] [PATCH 3/8] nir: add a helper for getting the bitmask for a variable's location

2017-09-12 Thread Timothy Arceri
--- src/compiler/nir/nir.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index fab2110f619..e52a1006896 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -351,6 +351,37 @@ typedef struct