[Mesa-dev] [Bug 62357] llvmpipe: Fragment Shader with "return" in main causes back output
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Mar 15 12:35:13 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=62357
--- Comment #10 from Roland Scheidegger <sroland at vmware.com> ---
Hmm I just noticed this doesn't actually work. Instead of not executing the
code after the conditional, the result will now always be as if the condition
passed, so the original testcase now fails (and the IR clearly indicates llvm
dropped all the code for the if condition (that is the comparison instructions
are still there but that's just because the results of that are stored back to
the register file).
I can't quite see though why if this doesn't work when happening in main, how
could it possibly work in a subroutine. I think there's something wrong with
handling condition masks around function calls/rets. Can't quite see yet how
this is all supposed to work together...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130315/421434c8/attachment.html>
More information about the mesa-dev
mailing list