kolibrios/drivers/video/drm/radeon/blit_mask_ps_3.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

22 lines
239 B
Plaintext

ps_3_0
dcl_2d s0
dcl_2d s1
dcl_2d s2
dcl_color v1
dcl_texcoord0 v0.xy
dcl_texcoord1 v0.zw
texld r0.x, v0.xy, s0
sub r0.x, r0.x, v1.x
abs r0.x, r0.x
mov r0.xyzw, -r0.x
texkill r0.x
texld oC0, v0.zw, s1