the texture instructions whose handle a uniform register holds: memory_handles found the slot, or none (UniformHandle)
function TexU(kind : int) -> unit =
if not_bool(HasHandleSlot()) then UniformHandle()
else match kind { 0 => Texture(), 1 => TexelFetch(), 2 => TextureQuery(), _ => TextureGrad() }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 Mesa's NAK (sm70_encode.rs, MIT) and CuAssembler's sm_86 records.