mesa: 83bba8f14603022c6c80bef95020e079d7cb73c0 (master 10.3.0-devel) Run piglit fs-const-array-of-struct-of-array on llvmpipe or softpipe. $ ./bin/shader_runner tests/spec/glsl-1.20/execution/fs-const-array-of-struct-of-array.shader_test -auto src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4495:translate_src: Assertion `src_reg->file != PROGRAM_TEMPORARY' failed. Trace/breakpoint trap (core dumped) (gdb) bt #0 0x00007fd77877b3ad in _debug_assert_fail (expr=0x7fd7790fcc20 "src_reg->file != PROGRAM_TEMPORARY", file=0x7fd7790fbe28 "src/mesa/state_tracker/st_glsl_to_tgsi.cpp", line=4495, function=0x7fd7790fd3e2 <translate_src(st_translate*, st_src_reg const*)::__FUNCTION__> "translate_src") at src/gallium/auxiliary/util/u_debug.c:277 #1 0x00007fd778642765 in translate_src (t=0xab3c40, src_reg=0xa8bec8) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4495 #2 0x00007fd778642b61 in compile_tgsi_instruction (t=0xab3c40, inst=0xa8be90, clamp_dst_color_output=false) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4576 #3 0x00007fd7786447cb in st_translate_program (ctx=0x7fd77bba7010, procType=0, ureg=0xa98ad0, program=0xa8b7e0, proginfo=0xa8a330, numInputs=0, inputMapping=0x7fffc7310440, inputSemanticName=0x7fffc7310520 "`\005\061\307\377\177", inputSemanticIndex=0x7fffc7310540 "`\005", <incomplete sequence \307>, interpMode=0x7fffc73103c0, is_centroid=0x7fffc7310560 "\200\005\061\307\377\177", numOutputs=1, outputMapping=0x7fffc7310390, outputSemanticName=0x7fffc7310580 "\001\005\061\307\377\177", outputSemanticIndex=0x7fffc73105b0 "", passthrough_edgeflags=0 '\000', clamp_color=0 '\000') at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:5138 #4 0x00007fd7785381b4 in st_translate_fragment_program (st=0xa1fc50, stfp=0xa8a330, key=0x7fffc7310670) at src/mesa/state_tracker/st_program.c:751 #5 0x00007fd7785383eb in st_get_fp_variant (st=0xa1fc50, stfp=0xa8a330, key=0x7fffc7310670) at src/mesa/state_tracker/st_program.c:828 #6 0x00007fd778618c92 in update_fp (st=0xa1fc50) at src/mesa/state_tracker/st_atom_shader.c:92 #7 0x00007fd778613306 in st_validate_state (st=0xa1fc50) at src/mesa/state_tracker/st_atom.c:213 #8 0x00007fd778532b6f in st_draw_vbo (ctx=0x7fd77bba7010, prims=0x7fffc7310840, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3, tfb_vertcount=0x0, indirect=0x0) at src/mesa/state_tracker/st_draw.c:198 #9 0x00007fd77860bc0b in vbo_draw_arrays (ctx=0x7fd77bba7010, mode=5, start=0, count=4, numInstances=1, baseInstance=0) at src/mesa/vbo/vbo_exec_array.c:667 #10 0x00007fd77860c656 in vbo_exec_DrawArrays (mode=5, start=0, count=4) at src/mesa/vbo/vbo_exec_array.c:819 #11 0x00007fd77b6cc09e in stub_glDrawArrays (mode=5, first=0, count=4) at piglit/tests/util/generated_dispatch.c:6274 #12 0x00007fd77b6bad17 in piglit_draw_rect_from_arrays (verts=0x7fffc7310930, tex=0x0) at piglit/tests/util/piglit-util-gl-common.c:632 #13 0x00007fd77b6bb08f in piglit_draw_rect (x=-1, y=-1, w=2, h=2) at piglit/tests/util/piglit-util-gl-common.c:741 #14 0x000000000040910a in piglit_display () at piglit/tests/shaders/shader_runner.c:1906 #15 0x00007fd77b6bd7e2 in display () at piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:60 #16 0x00007fd77ae55244 in fghRedrawWindow (window=0x99a490) at freeglut_main.c:231 #17 fghcbDisplayWindow (window=0x99a490, enumerator=0x7fffc7310bb0) at freeglut_main.c:248 #18 0x00007fd77ae58aa9 in fgEnumWindows (enumCallback=enumCallback@entry=0x7fd77ae551d0 <fghcbDisplayWindow>, enumerator=enumerator@entry=0x7fffc7310bb0) at freeglut_structure.c:396 #19 0x00007fd77ae557fd in fghDisplayAll () at freeglut_main.c:271 #20 glutMainLoopEvent () at freeglut_main.c:1523 #21 0x00007fd77ae55ffd in glutMainLoop () at freeglut_main.c:1571 #22 0x00007fd77b6bdac4 in run_test (gl_fw=0x7fd77b9ac380 <glut_fw>, argc=2, argv=0x7fffc7310f88) at piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:154 #23 0x00007fd77b6bb819 in piglit_gl_test_run (argc=2, argv=0x7fffc7310f88, config=0x7fffc7310e50) at piglit/tests/util/piglit-framework-gl.c:151 #24 0x000000000040468e in main (argc=2, argv=0x7fffc7310f88) at piglit/tests/shaders/shader_runner.c:60 (gdb) frame 1 #1 0x00007fd778642765 in translate_src (t=0xab3c40, src_reg=0xa8bec8) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4495 4495 assert(src_reg->file != PROGRAM_TEMPORARY);
mesa: c633528cbac007a73a066f269b3c9a25daf1e21a (master 10.5.0-devel) Test still triggers same crash.
mesa: 83a782cd5ed6d0c3265b4bd817160fc4de6a19c1 (master 12.1.0-devel) piglit fs-const-array-of-struct-of-array passes on both llvmpipe and softpipe now.
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.