Lines Matching refs:to_bit
377 auto to_bit = [&](int shift, skvm::I32 mask) { in DEF_TEST() local
382 m = b.bit_or(m, to_bit(0, b. eq(x, b.splat(0)))); in DEF_TEST()
383 m = b.bit_or(m, to_bit(1, b.neq(x, b.splat(1)))); in DEF_TEST()
384 m = b.bit_or(m, to_bit(2, b. lt(x, b.splat(2)))); in DEF_TEST()
385 m = b.bit_or(m, to_bit(3, b.lte(x, b.splat(3)))); in DEF_TEST()
386 m = b.bit_or(m, to_bit(4, b. gt(x, b.splat(4)))); in DEF_TEST()
387 m = b.bit_or(m, to_bit(5, b.gte(x, b.splat(5)))); in DEF_TEST()
413 auto to_bit = [&](int shift, skvm::I32 mask) { in DEF_TEST() local
418 m = b.bit_or(m, to_bit(0, b. eq(x, b.splat(0.0f)))); in DEF_TEST()
419 m = b.bit_or(m, to_bit(1, b.neq(x, b.splat(1.0f)))); in DEF_TEST()
420 m = b.bit_or(m, to_bit(2, b. lt(x, b.splat(2.0f)))); in DEF_TEST()
421 m = b.bit_or(m, to_bit(3, b.lte(x, b.splat(3.0f)))); in DEF_TEST()
422 m = b.bit_or(m, to_bit(4, b. gt(x, b.splat(4.0f)))); in DEF_TEST()
423 m = b.bit_or(m, to_bit(5, b.gte(x, b.splat(5.0f)))); in DEF_TEST()