Pixel Shader for opacity mask?

Dec 1, 2013 at 4:09 PM
I am having performance issues with WPF opacity mask.
I am wondering if a pixel shader version would increase performance.
Can anyone (refering to HLSL expert) help to do up the .ps code for opacity mask? :)