On 08/24/2015 10:51 AM, Yuzhu Lu wrote:
Hi Brian,

It happens for all the configuration I tried. Here is one example:

./configure --disable-xvmc --disable-glx --disable-dri
--with-dri-drivers="" --with-gallium-drivers="swrast"
--enable-texture-float --enable-shared-glapi --disable-egl
--enable-mangling --with-egl-platforms="" --enable-gallium-osmesa
--enable-gallium-llvm=yes --disable-llvm-shared-libs

I am not sure this is related. I am using 64bit Ubuntu.

Here are the only warnings I get:

nir/glsl_to_nir.cpp: In member function 'virtual void
{anonymous}::nir_visitor::visit(ir_call*)':
nir/glsl_to_nir.cpp:610:73: warning: 'op' may be used uninitialized in
this function [-Wmaybe-uninitialized]
nir_intrinsic_instr *instr = nir_intrinsic_instr_create(shader, op);

nir/nir_lower_phis_to_scalar.c: In function 'is_phi_src_scalarizable':
nir/nir_lower_phis_to_scalar.c:70:14: warning: 'or' of unmatched
not-equal tests is always 1
src_alu->op != nir_op_vec4;
^
CXX nir/nir_lower_samplers.lo
nir/nir_lower_samplers.cpp: In function 'void
lower_sampler(nir_tex_instr*, gl_shader_program*, const gl_program*,
void*)':
nir/nir_lower_samplers.cpp:72:9: warning: unused variable 'has_indirect'
[-Wunused-variable]
bool has_indirect = false;

I was asking about the compiler options/warnings when you compile your mgl application, not Mesa itself.

-Brian


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to