Guest User

Untitled

a guest
Jun 20th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "sub "+tempReg2+".xyz,"+tempReg+".xyz,"+_dataReg2+".zzz\n"+ // a = x-edge1
  2. "div "+tempReg2+".xyz,"+tempReg2+".xyz,"+_dataReg2+".www\n"+ // a / (edge2-edge1)
  3. "sat "+tempReg4+".xyz,"+tempReg2+".xyz\n"+ // tempReg 2 = t // reg4 = saturate(a)
  4. "mul "+tempReg2+".xyz,"+tempReg4+".xyz,"+tempReg4+".xyz\n"+ // reg2 = reg4^2 (t^2)
  5. "mul "+tempReg3+".xyz,"+tempReg2+".xyz,"+tempReg4+".xyz\n"+ // reg3 = reg2*reg4 (t^3)
  6. "mul "+tempReg2+".xyz,"+tempReg2+".xyz,"+_dataReg3+".xxx\n"+ // reg2 *= 3              
  7. "mul "+tempReg3+".xyz,"+tempReg3+".xyz,"+_dataReg3+".yyy\n"+ // reg3 *=2               
  8. "sub "+tempReg4+".xyz,"+tempReg2+".xyz,"+tempReg3+".xyz\n"+  // reg4 = reg2-reg3;
Add Comment
Please, Sign In to add comment