On Wed, Dec 17, 2014 at 5:59 PM, Jason Ekstrand wrote:
>
>
> On Wed, Dec 17, 2014 at 11:51 AM, Connor Abbott wrote:
>>
>> One thing I'm a little worried about is that passes might forget to
>> require the right metadata, and they'll just happen to work since the
>> pass before also requires the s
On Wed, Dec 17, 2014 at 11:51 AM, Connor Abbott wrote:
> One thing I'm a little worried about is that passes might forget to
> require the right metadata, and they'll just happen to work since the
> pass before also requires the same metadata and preserves it. I think
> a good thing to do to comba
On Wed, Dec 17, 2014 at 11:51 AM, Connor Abbott wrote:
>
> One thing I'm a little worried about is that passes might forget to
> require the right metadata, and they'll just happen to work since the
> pass before also requires the same metadata and preserves it. I think
> a good thing to do to com
One thing I'm a little worried about is that passes might forget to
require the right metadata, and they'll just happen to work since the
pass before also requires the same metadata and preserves it. I think
a good thing to do to combat this is to have a debug mode that dirties
*all* the metadata i
On Wed, Dec 17, 2014 at 7:04 AM, Jason Ekstrand wrote:
>
>
> On Tue, Dec 16, 2014 at 10:58 PM, Connor Abbott wrote:
>>
>> On Tue, Dec 16, 2014 at 1:04 AM, Jason Ekstrand
>> wrote:
>> > ---
>> > src/glsl/Makefile.sources| 1 +
>> > src/glsl/nir/nir.c | 19 +++-
>> > sr
On Wed, Dec 17, 2014 at 4:04 AM, Jason Ekstrand wrote:
> On Tue, Dec 16, 2014 at 10:58 PM, Connor Abbott wrote:
>> On Tue, Dec 16, 2014 at 1:04 AM, Jason Ekstrand
>> wrote:
>> > +/**
>> > + * Various bits of metadata that can may be created or required by
>> > + * optimization and analysis passe
On Tue, Dec 16, 2014 at 10:58 PM, Connor Abbott wrote:
>
> On Tue, Dec 16, 2014 at 1:04 AM, Jason Ekstrand
> wrote:
> > ---
> > src/glsl/Makefile.sources| 1 +
> > src/glsl/nir/nir.c | 19 +++-
> > src/glsl/nir/nir.h | 21 --
> > src/glsl/nir/
On Tue, Dec 16, 2014 at 1:04 AM, Jason Ekstrand wrote:
> ---
> src/glsl/Makefile.sources| 1 +
> src/glsl/nir/nir.c | 19 +++-
> src/glsl/nir/nir.h | 21 --
> src/glsl/nir/nir_dominance.c | 6 ++---
> src/glsl/nir/nir_metadata.c | 52
> +
---
src/glsl/Makefile.sources| 1 +
src/glsl/nir/nir.c | 19 +++-
src/glsl/nir/nir.h | 21 --
src/glsl/nir/nir_dominance.c | 6 ++---
src/glsl/nir/nir_metadata.c | 52
5 files changed, 82 insertions