[Mesa-dev] nir: Compilation error in nir/nir_to_ssa.c

Matt Turner mattst88 at gmail.com
Fri Feb 20 13:27:11 PST 2015


On Fri, Feb 20, 2015 at 1:23 PM, Dieter N├╝tzel <Dieter at nuetzel-hh.de> wrote:
> make[3]: Entering directory '/opt/mesa/src/glsl'
>   CC       nir/nir_to_ssa.lo
> In file included from nir/../glsl_types.h:30:0,
>                  from nir/nir_types.h:32,
>                  from nir/nir.h:36,
>                  from nir/nir_to_ssa.c:28:
> nir/nir_to_ssa.c: In function 'rewrite_def_forwards':
> nir/nir_to_ssa.c:226:60: error: 'reg_state' has no member named 'stack_size'
>     assert(state->states[index].index < state->states[index].stack_size);
>                                                             ^
> Makefile:1602: recipe for target 'nir/nir_to_ssa.lo' failed
> make[3]: *** [nir/nir_to_ssa.lo] Error 1
>
> It's only defined for DEBUG.
>
> -Dieter

Yep. There are two patches on the list to fix this.


More information about the mesa-dev mailing list