<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - st_glsl_to_tgsi.cpp:2320:emit_block_mov: Assertion `type->is_scalar() || type->is_vector()' failed."
href="https://bugs.freedesktop.org/show_bug.cgi?id=66863">66863</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>st_glsl_to_tgsi.cpp:2320:emit_block_mov: Assertion `type->is_scalar() || type->is_vector()' failed.
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>