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

2015-02-20 Thread Dieter Nützel

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
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2015-02-20 Thread Matt Turner
On Fri, Feb 20, 2015 at 1:23 PM, Dieter Nützel  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.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev