[Mesa-dev] [Bug 79471] New: [llvmpipe] [softpipe] state_tracker/st_glsl_to_tgsi.cpp:4495:translate_src: Assertion `src_reg->file != PROGRAM_TEMPORARY' failed.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 30 23:02:44 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=79471
Priority: medium
Bug ID: 79471
Keywords: have-backtrace
Assignee: mesa-dev at lists.freedesktop.org
Summary: [llvmpipe] [softpipe]
state_tracker/st_glsl_to_tgsi.cpp:4495:translate_src:
Assertion `src_reg->file != PROGRAM_TEMPORARY' failed.
Severity: normal
Classification: Unclassified
OS: All
Reporter: vlee at freedesktop.org
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
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 at entry=0x7fd77ae551d0 <fghcbDisplayWindow>,
enumerator=enumerator at 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);
--
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/20140531/04343dd7/attachment-0001.html>
More information about the mesa-dev
mailing list