commit | 479d9c97eb2c85b7df81f39281867c5559aa0bba | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Fri Jan 03 16:33:54 2020 -0800 |
committer | Eric Anholt <eric@anholt.net> | Wed Sep 02 09:58:44 2020 -0700 |
tree | f5ea4df9c10f88af25f720b74ddcdcdd7fe391a1 | |
parent | 9ed33383a5b1399315cd62f119234ee2332ee76f [diff] |
nir: Add simplistic lowering for bany_equal/ball_inequal. It would be nice if we could do swizzling of an expression on the replacement side so that we could have a single ieq/ine of the vector after CSE. However, if you do want vector operations, nir_opt_vectorize() does just fine. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6567>