[Mesa-dev] [Bug 66863] New: st_glsl_to_tgsi.cpp:2320:emit_block_mov: Assertion `type->is_scalar() || type->is_vector()' failed.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 12 16:32:08 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=66863
Priority: medium
Bug ID: 66863
Assignee: mesa-dev at lists.freedesktop.org
Summary: st_glsl_to_tgsi.cpp:2320:emit_block_mov: Assertion
`type->is_scalar() || type->is_vector()' failed.
Severity: critical
Classification: Unclassified
OS: Linux (All)
Reporter: vlee at freedesktop.org
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
mesa: bf9670270fb3deef8ad194f1a1ee78e253769234 (master)
Run piglit in-parameter-nested-struct test.
$ ./bin/shader_runner
tests/spec/glsl-1.10/execution/samplers/in-parameter-nested-struct.shader_test
-auto
../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2320:emit_block_mov: Assertion
`type->is_scalar() || type->is_vector()' failed.
Trace/breakpoint trap (core dumped)
(gdb) bt
#0 0x00007fd9b29b69ba in _debug_assert_fail (expr=0x7fd9b2afe7d0
"type->is_scalar() || type->is_vector()", file=0x7fd9b2afdef0
"../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp", line=2320,
function=0x7fd9b2aff600
<glsl_to_tgsi_visitor::emit_block_mov(ir_assignment*, glsl_type const*,
st_dst_reg*, st_src_reg*)::__FUNCTION__> "emit_block_mov") at
util/u_debug.c:278
#1 0x00007fd9b2861777 in glsl_to_tgsi_visitor::emit_block_mov (this=0x126ac00,
ir=0x1337800, type=0x7fd9b2f310e0 <glsl_type::_sampler2D_type>,
l=0x7fff7f071c60, r=0x7fff7f071c80)
at ../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2320
#2 0x00007fd9b2861641 in glsl_to_tgsi_visitor::emit_block_mov (this=0x126ac00,
ir=0x1337800, type=0x1275250, l=0x7fff7f071c60, r=0x7fff7f071c80)
at ../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2296
#3 0x00007fd9b28621a6 in glsl_to_tgsi_visitor::visit (this=0x126ac00,
ir=0x1337800) at ../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2432
#4 0x00007fd9b28c70a0 in ir_assignment::accept (this=0x1337800, v=0x126ac00)
at ../../../src/glsl/ir.h:885
#5 0x00007fd9b285b258 in glsl_to_tgsi_visitor::visit (this=0x126ac00,
ir=0x1320530) at ../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1225
#6 0x00007fd9b28c6ff0 in ir_function::accept (this=0x1320530, v=0x126ac00) at
../../../src/glsl/ir.h:711
#7 0x00007fd9b28c4470 in visit_exec_list (list=0x13616c0, visitor=0x126ac00)
at ../../../src/glsl/ir.cpp:1682
#8 0x00007fd9b286c622 in get_mesa_program (ctx=0x11c9960,
shader_program=0x13604c0, shader=0x1361540) at
../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:5046
#9 0x00007fd9b286ce3b in st_link_shader (ctx=0x11c9960, prog=0x13604c0) at
../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:5272
#10 0x00007fd9b29114ef in _mesa_glsl_link_shader (ctx=0x11c9960,
prog=0x13604c0) at ../../../src/mesa/program/ir_to_mesa.cpp:3120
#11 0x00007fd9b2791694 in link_program (ctx=0x11c9960, program=3) at
../../src/mesa/main/shaderapi.c:819
#12 0x00007fd9b2792822 in _mesa_LinkProgram (programObj=3) at
../../src/mesa/main/shaderapi.c:1302
#13 0x00007fd9b6425423 in stub_glLinkProgram (program=3) at
piglit/tests/util/generated_dispatch.c:17556
#14 0x000000000040553f in link_and_use_shaders () at
piglit/tests/shaders/shader_runner.c:787
#15 0x000000000040912c in piglit_init (argc=2, argv=0x7fff7f072248) at
piglit/tests/shaders/shader_runner.c:1999
#16 0x00007fd9b6400052 in run_test (gl_fw=0x7fd9b66e8060 <glut_fw>, argc=2,
argv=0x7fff7f072248) at
piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:140
#17 0x00007fd9b63fe0f6 in piglit_gl_test_run (argc=2, argv=0x7fff7f072248,
config=0x7fff7f072130) at piglit/tests/util/piglit-framework-gl.c:137
#18 0x0000000000403f06 in main (argc=3, argv=0x7fff7f072248) at
piglit/tests/shaders/shader_runner.c:56
--
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/20130712/bdf5f717/attachment-0001.html>
More information about the mesa-dev
mailing list