Files
mesa/src
Erik Faye-Lund f7bf0c774f nir: add nir_[fui]gt_imm and nir_[fui]le_imm helpers
These are similar to the nir_{cmp}_imm variants we already have, except
they negate the condition (apart from equality) and flip the arguments.
The reason we need this, is that we don't have all comparison directions
that would be required to always pass the immediate in the second
argument.

This allows us to create any comparison with an immediate without
having to manually create the immediate value.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23460>
2023-06-15 13:33:58 +02:00
..
2023-06-13 16:36:10 +00:00
2023-06-08 22:30:30 +00:00
2023-06-14 17:39:29 +00:00
2023-05-14 11:09:02 +00:00
2023-06-12 21:37:37 +00:00
2023-06-15 05:47:32 +00:00
2023-06-13 18:38:27 +00:00