Re: [Mesa-dev] [PATCH 08/10] nir: Add an instruction index

2015-02-05 Thread Connor Abbott
On the one hand, this really should use the metadata framework since it is metadata. On the other hand, this would get invalidated *all the time* so it doesn't seem so useful to have a dirty flag for it. Maybe add a comment explaining this? Other than that, Connor Abbott On Thu, Feb 5, 2015 at 5

[Mesa-dev] [PATCH 08/10] nir: Add an instruction index

2015-02-05 Thread Jason Ekstrand
This index, unlike the others, has to be manually updated by passes that want to use it. --- src/glsl/nir/nir.c | 20 src/glsl/nir/nir.h | 4 2 files changed, 24 insertions(+) diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index 8ea7bb5..6758a72 100644 --- a/src/g