r500/verbatim/sin_operand_remap.vs.asm
2025-11-11 18:34:41 -06:00

9 lines
304 B
NASM

-- CONST[0] = {0.159155, 0.5, 6.283185, -3.141593}
-- t = t * 0.159155 + 0.5
temp[0].xy = VE_MAD temp[0].xy__ const[0].xx__ const[0].yy__ ;
-- t = frac(t)
temp[0].xy = VE_FRC temp[0].xy__ ;
-- t = t * 6.283185 + -3.141593
temp[0].xy = VE_MAD temp[0].xy__ const[0].zz__ const[0].ww__ ;