[Mesa-dev] [Bug 61036] Shader fails to build in LLVMpipe, aborts program

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 17 19:55:01 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61036

--- Comment #1 from Brian Crowell <freedesktop at fluggo.com> ---
Created attachment 75025
  --> https://bugs.freedesktop.org/attachment.cgi?id=75025&action=edit
Error message produced by LLVM 3.0

This is the text produced by LLVM 3.0 from the program that was the source of
the test case. I don't know if it's useful at all, it seems to just be saying
that LLVM has no idea what to do with the shader.

The stack trace on that one is a simple verification failure:

#0  0xb704a5bb in _debug_assert_fail (expr=0xb7a8af3c "0", 
    file=0xb7a8ae84 "src/gallium/auxiliary/gallivm/lp_bld_init.c", line=587, 
    function=0xb7a8afa6 "gallivm_verify_function") at
src/gallium/auxiliary/util/u_debug.c:278
#1  0xb70c252f in gallivm_verify_function (gallivm=0x8196640, func=0x819bf40)
    at src/gallium/auxiliary/gallivm/lp_bld_init.c:587
#2  0xb70dd891 in draw_llvm_generate (llvm=0x805b200, variant=0x81a0740, elts=0
'\000')
    at src/gallium/auxiliary/draw/draw_llvm.c:1401
#3  0xb70daa7d in draw_llvm_create_variant (llvm=0x805b200, num_inputs=6,
key=0xbffff1b8)
    at src/gallium/auxiliary/draw/draw_llvm.c:449
#4  0xb70df10f in llvm_middle_end_prepare (middle=0x80696b8, in_prim=6, opt=3,
max_vertices=0x8066abc)
    at src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:170
#5  0xb702924f in vsplit_prepare (frontend=0x8066aa0, in_prim=6,
middle=0x80696b8, opt=3)
    at src/gallium/auxiliary/draw/draw_pt_vsplit.c:175
#6  0xb701dcb7 in draw_pt_arrays (draw=0x805a4b8, prim=6, start=0, count=4)
    at src/gallium/auxiliary/draw/draw_pt.c:134
#7  0xb701e901 in draw_vbo (draw=0x805a4b8, info=0xbffff6e4)
    at src/gallium/auxiliary/draw/draw_pt.c:539
#8  0xb6d30b48 in llvmpipe_draw_vbo (pipe=0x80595a0, info=0xbffff6e4)
    at src/gallium/drivers/llvmpipe/lp_draw_arrays.c:103
#9  0xb7009cc7 in cso_draw_vbo (cso=0x811ed08, info=0xbffff6e4)
    at src/gallium/auxiliary/cso_cache/cso_context.c:1347
#10 0xb6e8110f in st_draw_vbo (ctx=0x80c5208, prims=0xbffff774, nr_prims=1,
ib=0x0, 
    index_bounds_valid=1 '\001', min_index=0, max_index=3, tfb_vertcount=0x0)
    at src/mesa/state_tracker/st_draw.c:287
#11 0xb6f334c2 in vbo_draw_arrays (ctx=0x80c5208, mode=6, start=0, count=4,
numInstances=1, 
    baseInstance=0) at src/mesa/vbo/vbo_exec_array.c:619
#12 0xb6f335b4 in vbo_exec_DrawArrays (mode=6, start=0, count=4) at
src/mesa/vbo/vbo_exec_array.c:649
#13 0x08048cdf in main (argc=1, argv=0xbffff944) at mesa-test/shader1.c:127

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130218/4a8ffd66/attachment.html>


More information about the mesa-dev mailing list