SetDestScalar

pica.sail

a scalar spread over the enabled components

function SetDestScalar(p : bits(32), d : int, value : bits(32)) -> unit = {
    let mask = UInt(p[3 .. 0]);
    if d != 0 & mask != 0 then SetDest(p, d, V4Splat(value))
}

Used by


Made from ScarletNX's Sail at 166ad3910f80. The Sail and the encodings' file are ScarletNX's (GPL-3.0-or-later); its encodings are from nihstro's shader_bytecode.h (BSD-3-Clause), as Azahar reads them.