Re: [Mesa-dev] [PATCH v2] mesa/st: Use 'struct nir_shader' instead of 'nir_shader'.

2016-06-29 Thread Jason Ekstrand
On Jun 29, 2016 7:16 PM, "Vinson Lee" wrote: > > 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/

[Mesa-dev] [PATCH v2] mesa/st: Use 'struct nir_shader' instead of 'nir_shader'.

2016-06-29 Thread Vinson Lee
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