[Bug 79504] LLVM error on fragment shader

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 6 05:11:12 PDT 2014


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

--- Comment #12 from Tapani Pälli <lemody at gmail.com> ---
FYI there might be a bug in fragment shader here (not sure if I read the spec
correctly though). Each switch case in fragment shader should have 'u' after
the number '1u', '2u' and so on to use same type as the switch has, otherwise
it defaults to signed in GLSL.

But yetp, there's Mesa bug also, it should probably do compile error here or
maybe just warning and set the same type when doing AST->HIR, but this is a
separate bug.

-- 
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/ab5cc5ff/attachment.html>


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