mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 19:18:21 +02:00
nir: Add is_not_negative helper function
This was taken from 636da12433, and is
needed by the next patch.
This commit is contained in:
parent
f180b04d65
commit
b84cbdfd4d
1 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,12 @@
|
|||
* the result.
|
||||
*/
|
||||
|
||||
static bool
|
||||
is_not_negative(enum ssa_ranges r)
|
||||
{
|
||||
return r == gt_zero || r == ge_zero || r == eq_zero;
|
||||
}
|
||||
|
||||
static void *
|
||||
pack_data(const struct ssa_result_range r)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue