mesa/st: Use 'struct nir_shader' instead of 'nir_shader'.
authorVinson Lee <vlee@freedesktop.org>
Thu, 30 Jun 2016 03:15:03 +0000 (20:15 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 1 Jul 2016 07:19:24 +0000 (00:19 -0700)
commit3fea592c4eb26f6652bef1e5dc430e2296e14bac
tree8bc621de5a022d771504909f696bb207984cea0e
parenta97ee60926f6c08cb4cdd26a2746c483d8782547
mesa/st: Use 'struct nir_shader' instead of 'nir_shader'.

Fix this build error with GCC 4.4.

  CC     state_tracker/st_nir_lower_builtin.lo
In file included from state_tracker/st_nir_lower_builtin.c:61:
state_tracker/st_nir.h:34: error: redefinition of typedef ‘nir_shader’
../../src/compiler/nir/nir.h:1830: note: previous declaration of ‘nir_shader’ was here

Suggested-by: Rob Clark <robdclark@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96235
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/mesa/state_tracker/st_nir.h