[Bug 78468] Compiling of shader gets stuck in infinite loop

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 9 07:10:50 PDT 2014


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

--- Comment #11 from Iago Toral <itoral at igalia.com> ---
The bad commit mentioned above seems to avoid making temporary variables for
rvalues in certain scenarios where, in theory, we do not need them. After that
commit, do_assignment() in ast_to_hir.cpp takes a needs_rvalue parameter to
decide if we need to compute the rvalue or not. In that same commit, this
parameter is set to false in a number of situations.

I did a quick test switching this parameter to true in all the cases and that
seems to fix the problem for me, so I guess there is one case where we are
wrongly passing false and for some reason that produces this recurrent
behavior, I suppose because it really needs to compute an rvalue that never
gets computed. I'll see if I can find more.

-- 
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/20140909/28e53266/attachment.html>


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