~linaro-graphics-wg/compiz-plugins-main/oneiric-gles2

« back to all changes in this revision

Viewing changes to colorfilter/data/filters/negative

  • Committer: Sam Spilsbury
  • Date: 2011-09-20 07:43:55 UTC
  • Revision ID: sam.spilsbury@canonical.com-20110920074355-puzdutejjwsu3ta2
Sync - Remove Plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
!!ARBfp1.0
2
 
TEMP temp, neg;
3
 
TEX temp, fragment.texcoord[0], texture[0], RECT;
4
 
RCP neg.a, temp.a;
5
 
MAD temp.rgb, -neg.a, temp, 1.0;
6
 
MUL temp.rgb, temp.a, temp;
7
 
MUL temp, fragment.color, temp;
8
 
MOV result.color, temp;
9
 
END