kolibrios/drivers/video/drm/radeon/blit_mask_ps_2.psh
Sergey Semyonov (Serge) 167d3e9226 kms: rc6
git-svn-id: svn://kolibrios.org@1268 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-12 15:36:53 +00:00

21 lines
188 B
Plaintext

ps_2_0
dcl_2d s0
dcl_2d s1
dcl v0
dcl t0
dcl t1
texld r0, t0, s0
sub r0.x, r0.x, v0.x
abs r0.x, r0.x
mov r0.xyzw, -r0.x
texkill r0
texld r0, t1, s1
mov oC0, r0