Advertisement
Guest User

glsl-derivs-abs-sign

a guest
Jul 17th, 2019
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. const0 0 0 0 0, load.v $0.x 0.x, lt.v0 $0.w $0.xxxx ^const0.xxxx, lt.s0 ^const0.x $0.x, add.s1 $0.w -$0.w ^s0
  2. const0 -1 1 0 0, eq.s0 ^const0.x $0.w, op23.s1 $1.z ^const0.y ^const0.x
  3. const0 0 0 0 0, load.v $0.x 0.y, lt.v0 $0.w $0.xxxx ^const0.xxxx, lt.s0 ^const0.x $0.x, add.s1 $0.w -$0.w ^s0
  4. const0 -1 1 0 0, load.v $0.x 0.x, eq.s0 ^const0.x $0.w, sel.v1 $1.w ^const0.yyyy ^const0.xxxx, mov.s1 $0.w abs($0.x)
  5. load.v $0.x 0.y, mov.s0 $0.y -abs($0.x), mov.v1 $0.z abs($0.xxxx), dFdx.s1 $0.w -$0.w $0.w, sync
  6. load.v $0.x 0.x, mov.v0 $0.x -abs($0.xxxx), mul.s0 $1.y $1.z $0.w, dFdy.v1 $0.w -$0.zzzz $0.zzzz, dFdy.s1 $0.z -$0.y $0.y, mul.s2 $0.w $1.wwww $0.w, sync
  7. const0 10 0 0 0, mul.v0 $1.w -$1.wwww $0.zzzz, mul.s0 $0.y ^const0.x $0.w, dFdx.v1 $0.w -$0.xxxx $0.xxxx, mov.s1 $0.z -$1.z, mul.s2 $0.w $0.zzzz $0.w, sync
  8. const0 40 30 20 0, mul.v0 $0.x ^const0.zzzz $1.yyyy, mul.s0 $0.z ^const0.x $0.w, mul.s2 $0.w ^const0.yyyy $1.w, stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement