vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
1
2
3
4
5
6
7
8
fn vyre_blake3_flags(chunk_start: bool, chunk_end: bool, parent: bool, root: bool) -> u32 {
  var flags = 0u;
  if (chunk_start) { flags = flags | 1u; }
  if (chunk_end) { flags = flags | 2u; }
  if (parent) { flags = flags | 4u; }
  if (root) { flags = flags | 8u; }
  return flags;
}