[swrast] piglit valgrind fbo-d24s8 fails
Submitted by Vinson Lee
Assigned to Brian Paul @brianp
Description
mesa: 4ff3467d (master)
piglit valgrind fbo-d24s8 fails on swrast.
$ valgrind --track-origins=yes ./bin/fbo-d24s8 -auto
==21811== Conditional jump or move depends on uninitialised value(s) ==21811== at 0x42AC7B9: fetch_texel_1d_f_z24_s8 (texfetch_tmp.h:1722) ==21811== by 0x42BAF4F: texture_get_row (texrender.c:84) ==21811== by 0x428B15B: put_mono_row_z24 (depthstencil.c:240) ==21811== by 0x41D76B4: _swrast_clear_depth_buffer (s_depth.c:1477) ==21811== by 0x41D0FF4: _swrast_Clear (s_clear.c:218) ==21811== by 0x4081BFE: clear_buffers (xm_dd.c:387) ==21811== by 0x4281899: _mesa_Clear (clear.c:179) ==21811== by 0x804AC93: create_1d_fbo (fbo-d24s8.c:102) ==21811== by 0x804AF3B: piglit_display (fbo-d24s8.c:154) ==21811== by 0x804C882: display (piglit-framework.c:52) ==21811== by 0x44B981F: ??? (in /usr/lib/libglut.so.3.9.0) ==21811== by 0x44BD65F: fgEnumWindows (in /usr/lib/libglut.so.3.9.0) ==21811== Uninitialised value was created by a heap allocation ==21811== at 0x4024106: memalign (vg_replace_malloc.c:581) ==21811== by 0x4024163: posix_memalign (vg_replace_malloc.c:709) ==21811== by 0x4128A76: _mesa_align_malloc (imports.c:90) ==21811== by 0x414DE67: _mesa_alloc_texmemory (teximage.c:71) ==21811== by 0x41655F6: _mesa_store_teximage1d (texstore.c:4078) ==21811== by 0x4151C71: _mesa_TexImage1D (teximage.c:2290) ==21811== by 0x804AADA: create_1d_fbo (fbo-d24s8.c:60) ==21811== by 0x804AF3B: piglit_display (fbo-d24s8.c:154) ==21811== by 0x804C882: display (piglit-framework.c:52) ==21811== by 0x44B981F: ??? (in /usr/lib/libglut.so.3.9.0) ==21811== by 0x44BD65F: fgEnumWindows (in /usr/lib/libglut.so.3.9.0) ==21811== by 0x44B9CDA: glutMainLoopEvent (in /usr/lib/libglut.so.3.9.0)
Version: git