blob: 99395534f9ae59855254e85f220d5436a1331c9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
struct psinput {
float4 texcoord: TEXCOORD;
};
struct psoutput {
float4 fragcolor: COLOR;
};
sampler palette: register(s0);
psoutput fill(psinput input) {
psoutput output;
output.fragcolor = tex1D(palette, input.texcoord.x);
return output;
}
|