vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
1
2
3
4
5
6
7
8
use crate::ir::Expr;

pub fn window_byte() -> Expr {
    Expr::bitand(
        Expr::load("input", Expr::add(Expr::var("start"), Expr::var("offset"))),
        Expr::u32(0xff),
    )
}