[Mesa-users] nir_fsin() et al.

karl at aspodata.se karl at aspodata.se
Fri Apr 24 13:20:02 PDT 2015


 Hello list, I get:

error: implicit declaration of function ...

 for a lot of nir_xxx() functions:

$ echo `make  -k 2>&1 | grep error: | grep -v collect2 | cut -f2 -d\' | sort -u`
nir_b2f nir_b2i nir_bany4 nir_bcsel nir_f2i nir_f2u nir_fabs
nir_fadd nir_fany4 nir_fcos nir_fcsel nir_fdiv nir_fdot2 nir_fdot3
nir_fdot4 nir_feq nir_fexp2 nir_ffloor nir_fge nir_flog2 nir_flrp
nir_flt nir_fmax nir_fmin nir_fmov nir_fmul nir_fne nir_fneg nir_fpow
nir_frcp nir_frsq nir_fsat nir_fsin nir_fsqrt nir_fsub nir_i2b nir_i2f
nir_iabs nir_iadd nir_ige nir_imul nir_ine nir_ineg nir_ishl nir_isub
nir_ixor nir_seq nir_sge nir_slt nir_sne nir_u2f nir_ushr nir_vec2
nir_vec3 nir_vec4 tgsi_get_processor_type

$ git remote -v
origin  git://anongit.freedesktop.org/git/mesa/mesa (fetch)
origin  git://anongit.freedesktop.org/git/mesa/mesa (push)
$ git branch -v
* master 18f44d3 mesa: fix glGetActiveUniformsiv regression

 I initially configured and build it with

$ xorg/util/modular/build.sh --autoresume Cont --confflags -enable-sysfs

 I cannot find any declaration of nir_fsin in the git tree:

$ find . -type f | xargs grep nir_fsin
./src/gallium/auxiliary/nir/tgsi_to_nir.c:   ttn_move_dest_masked(b, dest, nir_fsin(b, ttn_channel(b, src[0], X)),
./src/gallium/auxiliary/nir/tgsi_to_nir.c:      ttn_move_dest(b, dest, nir_fsin(b, ttn_channel(b, src[0], X)));
./src/mesa/program/prog_to_nir.c:   ptn_move_dest_masked(b, dest, nir_fsin(b, ptn_channel(b, src[0], X)),
./src/mesa/program/prog_to_nir.c:      ptn_move_dest(b, dest, nir_fsin(b, ptn_channel(b, src[0], X)));

 So, what dependancy am I missing ?

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57




More information about the mesa-users mailing list