r500/drm/matrix.vs.asm
2025-10-29 23:18:06 -05:00

12 lines
384 B
NASM

--
-- dot(m[0], v), dot(m[1], v), dot(m[2], v), dot(m[3], v)
--
temp[1].x = VE_DOT const[0].xyzw input[0].xyzw ;
temp[1].y = VE_DOT const[1].xyzw input[0].xyzw ;
temp[1].z = VE_DOT const[2].xyzw input[0].xyzw ;
temp[1].w = VE_DOT const[3].xyzw input[0].xyzw ;
out[0].xyzw = VE_MAX temp[1].xyzw temp[1].xyzw ;
out[1].xyzw = VE_MAX input[1].xyzw input[1].xyzw ;