!!NVts1.0

StartConstants;

CONSTANT c0 = 0.5;

EndConstants;

StartPrelimPass;

SampleMap	t0, RECT;
SampleMap	t1, RECT;
SampleMap	t2, RECT;
SampleMap	t3, RECT;

EndPass;

StartOutputPass;

Combiner;

input.a = t0;
input.b = 0.invert;
input.c = t0;
input.d = t0.a;
out = discard, discard, t0, none, none, false, false, false;

Combiner;

input.a = t1;
input.b = 0.invert;
input.c = t1;
input.d = t1.a;
out = discard, discard, t1, none, none, false, false, false;

Combiner;

input.a = t2;
input.b = 0.invert;
input.c = t2;
input.d = t2.a;
out = discard, discard, t2, none, none, false, false, false;

Combiner;

input.a = t3;
input.b = 0.invert;
input.c = t3;
input.d = t3.a;
out = discard, discard, t3, none, none, false, false, false;

Combiner;

input.a = t0;
input.b = 0.invert;
input.c = t1;
input.d = 0.invert;
out = discard, discard, s0, half, none, false, false, false;

Combiner;

input.a = t2;
input.b = 0.invert;
input.c = t3;
input.d = 0.invert;
out = discard, discard, s1, half, none, false, false, false;

FinalCombiner;

input.a = s0;
input.b = c0;
input.c = s1;

EndPass;
