ps_2_0
// place a dot
// input:
//   tex0
//   c0.xy - dot origin
//   c0.z  - radius
dcl t0
dcl_2d s0
def c8,1,0,0.001,0
sub r0,t0,c0
mul r0,r0,r0
add r0.x,r0.x,r0.y
sub r0.x,c0.z,r0.x
cmp r0.x,r0.x,r0.x,c8.y
rcp r1.y,c0.z
mul r0.x,r0.x,r1.y
mov r0,r0.x
texld r2,t0,s0
add r1,r0,r2
mov oC0,r1
