[Bug 79504] LLVM error on fragment shader

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 6 02:56:14 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79504

Michel Dänzer <michel at daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|dri-devel at lists.freedesktop |idr at freedesktop.org
                   |.org                        |
         QA Contact|                            |intel-3d-bugs at lists.freedes
                   |                            |ktop.org
          Component|Drivers/Gallium/radeonsi    |glsl-compiler

--- Comment #11 from Michel Dänzer <michel at daenzer.net> ---
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 at 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 at 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 at entry=0x7ffff44c6b40 "ir->operands[0]->type ==
ir->operands[1]->type", file=file at entry=0x7ffff44ee9d8
"../../../src/glsl/ir_validate.cpp", line=line at entry=436, 
    function=function at 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 at entry=0x7fffffffe420,
l=l at entry=0xaa95e8, statement_list=statement_list at 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 at entry=0x7fffffffe420,
l=l at entry=0x732698, statement_list=statement_list at 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 at entry=0x7fffffffe420,
l=l at entry=0x7324f8, statement_list=statement_list at 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 at entry=0x7fffffffe420,
l=l at entry=0x6cc4a0, statement_list=statement_list at entry=true) at
../../../src/glsl/ir_hv_accept.cpp:56
#13 0x00007ffff42e293f in ir_hierarchical_visitor::run
(this=this at entry=0x7fffffffe420, instructions=instructions at 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 at entry=0x7ffff7fd4010, shader=shader at entry=0x6c1ea0,
dump_ast=dump_ast at entry=false, dump_hir=dump_hir at 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 ()

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140606/d9fb8eb0/attachment.html>


More information about the intel-3d-bugs mailing list