1 out of 1 rated this helpful - Rate this topic

abs - vs

Computes absolute value.

Syntax

abs dst, src

 

where

  • dst is the destination register.
  • src is a source register.

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
absxxxxx

 

This instruction works as shown here.



dest.x = abs(src.x)
dest.y = abs(src.y)
dest.z = abs(src.z)
dest.w = abs(src.w)


 

 

Send comments about this topic to Microsoft

Build date: 3/5/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.