VcompType

usse_float.sail

VCOMP: the complex unit's reciprocal, reciprocal square root, base 2 logarithm or exponential (of a NaN 1, as a game needs) of src1's component src_comp, in each component the mask enables. A repeat at a time

function VcompType(t : int) -> int = if t == 0 then T_F32 else if t == 1 then T_F16 else if t == 2 then T_C10 else T_UNK

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 Vita3K's usse_translator_entry.cpp (GPL-2.0-or-later).