Re: [Mesa-dev] [PATCH 146/133] nir: Use static inlines instead of macros for list getters

2014-12-19 Thread Glenn Kennard
On Sat, 20 Dec 2014 02:02:27 +0100, Jason Ekstrand wrote: This should make debugging a lot easier as GDB handles static inlines much better than macros. Also, static inlines are typesafe. --- src/glsl/nir/nir.h | 109 +++-- 1 file changed

[Mesa-dev] [PATCH 146/133] nir: Use static inlines instead of macros for list getters

2014-12-19 Thread Jason Ekstrand
This should make debugging a lot easier as GDB handles static inlines much better than macros. Also, static inlines are typesafe. --- src/glsl/nir/nir.h | 109 +++-- 1 file changed, 81 insertions(+), 28 deletions(-) diff --git a/src/glsl/nir/nir.h