[Mesa-dev] [Bug 43683] New: src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575:st_translate_program: Assertion `0' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 10 00:12:09 PST 2011


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

             Bug #: 43683
           Summary: src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575:st_tra
                    nslate_program: Assertion `0' failed.
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at vmware.com
                CC: maraeo at gmail.com


mesa: 06f217d80f3d1318da4974bf7b31ea7edcf5eb0b (master)

Run piglit test fbo-copypix on llvmpipe.

$ ./bin/fbo-copypix -auto
src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575:st_translate_program: Assertion
`0' failed.
Trace/breakpoint trap (core dumped)


(gdb) bt
#0  0x00007f4134f1b975 in _debug_assert_fail (expr=0x7f41356a7d8b "0",
    file=0x7f41356a7ab8 "src/mesa/state_tracker/st_glsl_to_tgsi.cpp",
line=4575,
    function=0x7f41356a8b00 "st_translate_program") at
src/gallium/auxiliary/util/u_debug.c:278
#1  0x00007f4134e5f26a in st_translate_program (ctx=0x974d10, procType=0,
ureg=0xb503e0, program=0xac94c0,
    proginfo=0xbd5240, numInputs=1, inputMapping=0x7fff83e79320,
    inputSemanticName=0x7fff83e794a0 "\005\224\347\203\377\177",
inputSemanticIndex=0x7fff83e794c0 "",
    interpMode=0x7fff83e793a0, numOutputs=1, outputMapping=0x7fff83e79420,
    outputSemanticName=0x7fff83e794e0 "\001\225\347\203\n",
outputSemanticIndex=0x7fff83e79500 "",
    passthrough_edgeflags=0 '\000') at
src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575
#2  0x00007f4134d7ed53 in st_translate_fragment_program (st=0x9ddb20,
stfp=0xbd5240, key=0x7fff83e795a0)
    at src/mesa/state_tracker/st_program.c:653
#3  0x00007f4134d7ef73 in st_get_fp_variant (st=0x9ddb20, stfp=0xa57220,
key=0x7fff83e795a0)
    at src/mesa/state_tracker/st_program.c:728
#4  0x00007f4134e4857d in get_color_fp_variant (st=0x9ddb20) at
src/mesa/state_tracker/st_cb_drawpixels.c:1008
#5  0x00007f4134e4961d in st_CopyPixels (ctx=0x974d10, srcx=10, srcy=10,
width=20, height=20, dstx=10, dsty=40,
    type=6144) at src/mesa/state_tracker/st_cb_drawpixels.c:1475
#6  0x00007f4134db1a16 in _mesa_CopyPixels (srcx=10, srcy=10, width=20,
height=20, type=6144)
    at src/mesa/main/drawpix.c:226
#7  0x0000000000429ced in copy (srcX0=10, srcY0=10, srcX1=30, srcY1=30,
dstX0=10, dstY0=40, dstX1=30, dstY1=60)
    at piglit/tests/fbo/fbo-copypix.c:129
#8  0x0000000000429eb2 in run_test () at piglit/tests/fbo/fbo-copypix.c:172
#9  0x000000000042a04c in piglit_display () at
piglit/tests/fbo/fbo-copypix.c:203
#10 0x000000000042a70d in display () at piglit/tests/util/piglit-framework.c:56
#11 0x00007f413474e220 in fghRedrawWindow (window=0x8b8ad0) at
freeglut_main.c:210
#12 fghcbDisplayWindow (window=0x8b8ad0, enumerator=0x7fff83e79900) at
freeglut_main.c:227
#13 0x00007f4134751939 in fgEnumWindows (enumCallback=0x7f413474e120
<fghcbDisplayWindow>, enumerator=0x7fff83e79900)
    at freeglut_structure.c:394
#14 0x00007f413474e65a in fghDisplayAll () at freeglut_main.c:249
#15 glutMainLoopEvent () at freeglut_main.c:1450
#16 0x00007f413474ef65 in glutMainLoop () at freeglut_main.c:1498
#17 0x000000000042ae33 in main (argc=1, argv=0x7fff83e79c58)
    at piglit/tests/util/piglit-framework.c:294
(gdb) frame 1
#1  0x00007f4134e5f26a in st_translate_program (ctx=0x974d10, procType=0,
ureg=0xb503e0, program=0xac94c0,
    proginfo=0xbd5240, numInputs=1, inputMapping=0x7fff83e79320,
    inputSemanticName=0x7fff83e794a0 "\005\224\347\203\377\177",
inputSemanticIndex=0x7fff83e794c0 "",
    interpMode=0x7fff83e793a0, numOutputs=1, outputMapping=0x7fff83e79420,
    outputSemanticName=0x7fff83e794e0 "\001\225\347\203\n",
outputSemanticIndex=0x7fff83e79500 "",
    passthrough_edgeflags=0 '\000') at
src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575
4575                assert(0);
(gdb) print program->shader_program->FragDepthLayout
$1 = 32577


06f217d80f3d1318da4974bf7b31ea7edcf5eb0b is the first bad commit
commit 06f217d80f3d1318da4974bf7b31ea7edcf5eb0b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Nov 18 15:45:03 2011 +0100

    gallium: implement ARB_conservative_depth

    This adds a new TGSI property to represent the GLSL layout qualifier in
TGSI.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list