dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 79504] LLVM error on fragment shader
Date: Fri, 06 Jun 2014 09:56:14 +0000	[thread overview]
Message-ID: <bug-79504-502-EneWRn5M45@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-79504-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 4491 bytes --]

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

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

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

--- Comment #11 from Michel Dänzer <michel@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@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 ()

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 6195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2014-06-06  9:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 12:26 [Bug 79504] New: LLVM error on fragment shader bugzilla-daemon
2014-06-01 12:27 ` [Bug 79504] " bugzilla-daemon
2014-06-01 12:27 ` bugzilla-daemon
2014-06-01 12:28 ` bugzilla-daemon
2014-06-02  6:55 ` bugzilla-daemon
2014-06-02  7:58 ` bugzilla-daemon
2014-06-02  8:47 ` bugzilla-daemon
2014-06-02  9:38 ` bugzilla-daemon
2014-06-03  3:05 ` bugzilla-daemon
2014-06-03  8:06 ` bugzilla-daemon
2014-06-06  8:38 ` bugzilla-daemon
2014-06-06  9:56 ` bugzilla-daemon [this message]
2016-02-11  5:09 ` bugzilla-daemon
2016-02-12  3:32 ` bugzilla-daemon
2016-02-12  3:50 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-79504-502-EneWRn5M45@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox