[Bug 76862] clamp with bounds inside [0, 1] generates slow code

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 22 10:06:12 PDT 2014


--- Comment #1 from Matt Turner <mattst88 at gmail.com> ---
Are you thinking this should be implemented in src/glsl? There's no IR for
saturate. We emit saturate modifiers for clamp(x, 0.0, 1.0) in the i965

I think the IR should grow an ir_unop_saturate operation.

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/20140422/4b9df973/attachment.html>

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