[Mesa-dev] [Bug 101560] SPIR-V OpSwitch with int64 not supported even though shaderInt64 is true

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 5 22:41:43 UTC 2017


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

--- Comment #2 from Jason Ekstrand <jason at jlekstrand.net> ---
Ugh... I guess I didn't read the language on OpSwitch all that carefully the
first time around.  This is going to be exceedingly painful to do correctly. 
In order to know the number of switch cases, we have to know the bit size of
the selector.  However, we need to know the switch cases early when we do the
initial CFG walk and, at that point, we haven't processed any instructions
other than control-flow so we have no way to know the bit size of the selector.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170705/5d8ee1b9/attachment.html>


More information about the mesa-dev mailing list