Bug 31880 - [i915g] src/gallium/auxiliary/draw/draw_pt_emit.c:93:draw_pt_emit_prepare: Assertion `emit_sz != 0' failed.
Summary: [i915g] src/gallium/auxiliary/draw/draw_pt_emit.c:93:draw_pt_emit_prepare: As...
Status: CLOSED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/i915g (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 20:52 UTC by Vinson Lee
Modified: 2011-06-25 00:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2010-11-23 20:52:59 UTC
mesa: 78a340fd487c56468ace7347a53f95a0c751c419 (master)

chipset: 945GM (Intel GMA 950)
system architecture: i686
xserver-xorg-video-intel: 2:2.12.0-1ubuntu5.1
libdrm-intel1: 2.4.21-1ubuntu2.1
kernel version: 2.6.35-22-generic
Linux distribution: Ubuntu 10.10 i386

Run piglit vpfp-generic vp-arl-constant-array-huge test.

$ ./bin/vpfp-generic tests/shaders/generic/vp-arl-constant-array-huge.vpfp -auto
Probe at (50,50)
  Expected: 0.500000 1.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000 0.000000
Test tests/shaders/generic/vp-arl-constant-array-huge.vpfp:137 failed
src/gallium/auxiliary/draw/draw_pt_emit.c:93:draw_pt_emit_prepare: Assertion `emit_sz != 0' failed.

(gdb) bt
#0  0x010d122b in _debug_assert_fail (expr=0x1958c40 "emit_sz != 0", file=0x1958c14 "src/gallium/auxiliary/draw/draw_pt_emit.c", line=93, function=0x1958c6e "draw_pt_emit_prepare")
    at src/gallium/auxiliary/util/u_debug.c:233
#1  0x01100798 in draw_pt_emit_prepare (emit=0x8fca078, prim=7, max_vertices=0x8fc73cc) at src/gallium/auxiliary/draw/draw_pt_emit.c:93
#2  0x010fdc16 in llvm_middle_end_prepare (middle=0x8fc9fc0, in_prim=7, opt=3, max_vertices=0x8fc73cc) at src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:120
#3  0x010a5b2a in vsplit_prepare (frontend=0x8fc73b0, in_prim=7, middle=0x8fc9fc0, opt=3) at src/gallium/auxiliary/draw/draw_pt_vsplit.c:170
#4  0x0109b3be in draw_pt_arrays (draw=0x8f74340, prim=7, start=0, count=4) at src/gallium/auxiliary/draw/draw_pt.c:111
#5  0x0109bf91 in draw_vbo (draw=0x8f74340, info=0xbfeb58a4) at src/gallium/auxiliary/draw/draw_pt.c:481
#6  0x0106c988 in i915_draw_vbo (pipe=0x8f79368, info=0xbfeb58a4) at src/gallium/drivers/i915/i915_context.c:81
#7  0x0181dba5 in st_draw_vbo (ctx=0x8fdee50, arrays=0x9022e30, prims=0x9021804, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3) at src/mesa/state_tracker/st_draw.c:732
#8  0x018a2f0d in vbo_exec_vtx_flush (exec=0x9021690, unmap=1 '\001') at src/mesa/vbo/vbo_exec_draw.c:381
#9  0x0189edfe in vbo_exec_FlushVertices_internal (ctx=0x8fdee50, unmap=1 '\001') at src/mesa/vbo/vbo_exec_api.c:937
#10 0x0189ee9d in vbo_exec_FlushVertices (ctx=0x8fdee50, flags=1) at src/mesa/vbo/vbo_exec_api.c:971
#11 0x017be818 in _mesa_ReadPixels (x=50, y=50, width=1, height=1, format=6408, type=5126, pixels=0xbfeb5a98) at src/mesa/main/readpix.c:171
#12 0x0805010f in piglit_probe_pixel_rgba (x=50, y=50, expected=0x90149f8) at piglit/tests/util/piglit-util.c:189
#13 0x0804d896 in Test::run (this=0x90149e8) at piglit/tests/shaders/vpfp-generic.cpp:199
#14 0x0804d9c3 in TestGroup::run (this=0x8056444) at piglit/tests/shaders/vpfp-generic.cpp:226
#15 0x0804e2aa in piglit_display () at piglit/tests/shaders/vpfp-generic.cpp:372
#16 0x08051e43 in display () at piglit/tests/util/piglit-framework.c:52
#17 0x00125820 in fghRedrawWindow (window=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at freeglut_main.c:210
#18 fghcbDisplayWindow (window=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at freeglut_main.c:227
#19 0x00129660 in fgEnumWindows (enumCallback=0x125790 <fghcbDisplayWindow>, enumerator=0xbfeb5c28) at freeglut_structure.c:394
#20 0x00125cdb in fghDisplayAll () at freeglut_main.c:249
#21 glutMainLoopEvent () at freeglut_main.c:1450
#22 0x00126605 in glutMainLoop () at freeglut_main.c:1498
#23 0x08051fec in main (argc=2, argv=0xbfeb5eb4) at piglit/tests/util/piglit-framework.c:118
Comment 1 Vinson Lee 2011-06-25 00:24:38 UTC
mesa: ac8f59b23ed8256bcce40c47b5773669b00ba78a (master)

piglit vpfp-generic vp-arl-constant-array-huge now passes on i915g.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.