• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1struct PSInput {
2  float interp;
3  uint no_interp;
4};
5
6struct PSOutput {
7    float4 o1 : SV_TARGET2;
8    float4 o2 : SV_TARGET1;
9};
10
11PSOutput main(PSInput input : INPUT, out float4 po : SV_TARGET0)
12{
13    PSOutput pso;
14    pso.o1 = float4(float(input.no_interp), input.interp, 0, 1);
15    pso.o2 = 1;
16    po = 0;
17
18    return pso;
19}