<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLVM error on fragment shader"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79504">bug 79504</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>dri-devel@lists.freedesktop.org
</td>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<td style="text-align:right;">QA Contact</td>
<td>
</td>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>Drivers/Gallium/radeonsi
</td>
<td>glsl-compiler
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLVM error on fragment shader"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79504#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLVM error on fragment shader"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79504">bug 79504</a>
from <span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span></b>
<pre>I run into the assertion failure below in the GLSL compiler. That should be
addressed first.
test2: ../../../src/glsl/ir_validate.cpp:436: virtual ir_visitor_status
{anonymous}::ir_validate::visit_leave(ir_expression*): Assertion
`ir->operands[0]->type == ir->operands[1]->type' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff75973a9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff75973a9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff759a4c8 in __GI_abort () at abort.c:89
#2 0x00007ffff75904c6 in __assert_fail_base (fmt=0x7ffff76c7668 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7ffff44c6b40 "ir->operands[0]->type ==
ir->operands[1]->type", file=file@entry=0x7ffff44ee9d8
"../../../src/glsl/ir_validate.cpp", line=line@entry=436,
function=function@entry=0x7ffff44efd80 <(anonymous
namespace)::ir_validate::visit_leave(ir_expression*)::__PRETTY_FUNCTION__>
"virtual ir_visitor_status
{anonymous}::ir_validate::visit_leave(ir_expression*)") at assert.c:92
#3 0x00007ffff7590572 in __GI___assert_fail (assertion=0x7ffff44c6b40
"ir->operands[0]->type == ir->operands[1]->type", file=0x7ffff44ee9d8
"../../../src/glsl/ir_validate.cpp", line=436,
function=0x7ffff44efd80 <(anonymous
namespace)::ir_validate::visit_leave(ir_expression*)::__PRETTY_FUNCTION__>
"virtual ir_visitor_status
{anonymous}::ir_validate::visit_leave(ir_expression*)") at assert.c:101
#4 0x00007ffff42e57b1 in (anonymous namespace)::ir_validate::visit_leave
(this=<optimized out>, ir=<optimized out>) at
../../../src/glsl/ir_validate.cpp:436
#5 0x00007ffff42e2fdf in ir_assignment::accept (this=0xaaa360,
v=0x7fffffffe420) at ../../../src/glsl/ir_hv_accept.cpp:308
#6 0x00007ffff42e2a16 in visit_list_elements (v=v@entry=0x7fffffffe420,
l=l@entry=0xaa95e8, statement_list=statement_list@entry=true) at
../../../src/glsl/ir_hv_accept.cpp:56
#7 0x00007ffff42e3204 in ir_if::accept (this=0xaa95c0, v=0x7fffffffe420) at
../../../src/glsl/ir_hv_accept.cpp:391
#8 0x00007ffff42e2a16 in visit_list_elements (v=v@entry=0x7fffffffe420,
l=l@entry=0x732698, statement_list=statement_list@entry=true) at
../../../src/glsl/ir_hv_accept.cpp:56
#9 0x00007ffff42e2b79 in ir_function_signature::accept (this=0x732650,
v=0x7fffffffe420) at ../../../src/glsl/ir_hv_accept.cpp:116
#10 0x00007ffff42e2a16 in visit_list_elements (v=v@entry=0x7fffffffe420,
l=l@entry=0x7324f8, statement_list=statement_list@entry=false) at
../../../src/glsl/ir_hv_accept.cpp:56
#11 0x00007ffff42e2be7 in ir_function::accept (this=0x7324d0, v=0x7fffffffe420)
at ../../../src/glsl/ir_hv_accept.cpp:128
#12 0x00007ffff42e2a16 in visit_list_elements (v=v@entry=0x7fffffffe420,
l=l@entry=0x6cc4a0, statement_list=statement_list@entry=true) at
../../../src/glsl/ir_hv_accept.cpp:56
#13 0x00007ffff42e293f in ir_hierarchical_visitor::run
(this=this@entry=0x7fffffffe420, instructions=instructions@entry=0x6cc4a0) at
../../../src/glsl/ir_hierarchical_visitor.cpp:309
#14 0x00007ffff42e7ae0 in validate_ir_tree (instructions=0x6cc4a0) at
../../../src/glsl/ir_validate.cpp:817
#15 0x00007ffff42d3d2b in _mesa_glsl_compile_shader
(ctx=ctx@entry=0x7ffff7fd4010, shader=shader@entry=0x6c1ea0,
dump_ast=dump_ast@entry=false, dump_hir=dump_hir@entry=false)
at ../../../src/glsl/glsl_parser_extras.cpp:1470
#16 0x00007ffff41aa481 in compile_shader (ctx=0x7ffff7fd4010,
shaderObj=<optimized out>) at ../../../src/mesa/main/shaderapi.c:850
#17 0x0000000000401c4f in create_shader ()
#18 0x0000000000402073 in init_resources ()
#19 0x00000000004027ec in main ()</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>