kolibrios-fun/drivers/video/drm/radeon/blit_mask_ps_1.psh

9 lines
118 B
Plaintext
Raw Normal View History

ps_1_2
def c1, -1.0, -1.0, -1.0, -1.0
tex t0
tex t1
tex t2
sub r0 , t0, v0
dp3 r1, r0, r0
cmp r0, -r1, t1, t2