diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-05-14 12:34:35 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-26 22:31:31 +0000 |
commit | 35938c15e22e3021f7693425f0d2134845c81f6b (patch) | |
tree | bbdf867fd5f7386ef109de8f5028874c11d85e5a /.travis.yml | |
parent | 8cc7711924fd0f3c76e22e527e21d8f8368e5395 (diff) |
util: Add SATURATE macro
Equivalent to clamp(x, 0.0, 1.0) or fsat in NIR. Useful for format
packing, among other uses given the variety of substituions in-tree.
v2: Drop brackets (Eric).
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5100>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions