The mem-ctx mess was something that confused me a few times this summer.
The three first patches look correct to me, and are a nice cleanup.
For the first three:
Reviewed-by: Thomas Helland
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http:
---
src/glsl/nir/nir.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c
index 9a22fea..e173b21 100644
--- a/src/glsl/nir/nir.c
+++ b/src/glsl/nir/nir.c
@@ -714,9 +714,16 @@ nir_instr_insert(nir_cursor cursor, nir_instr *ins