r500/drm/shadertoy.vs.asm

4 lines
158 B
NASM

# CONST[0] = { 1.3333 , _, _, _ }
out[1].xy = VE_MUL input[0].xy__ const[0].x1__ ;
out[0].xyzw = VE_ADD input[0].xyz1 input[0].0000 ;