nir: few missing struct names
authorRob Clark <robclark@freedesktop.org>
Mon, 4 Jan 2016 18:24:08 +0000 (13:24 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 16 Jan 2016 18:35:43 +0000 (13:35 -0500)
commit211b0644e6e99fa223b448288efa93e7f1b740a4
tree05cf5a500170cde2402f447810d22667b193ee70
parent32a9fe013b9fbc93d9045341cb7cbe13231523fb
nir: few missing struct names

nir.h is a bit inconsistent about 'typedef struct {} nir_foo' vs
'typedef struct nir_foo {} nir_foo'.  But missing struct name tags is
inconvenient when you need a fwd declaration without pulling in all
of nir.

So add missing struct name tag for nir_variable, and a couple other
spots where it would likely be useful.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/glsl/nir/nir.h