hlsl.synthesizeInput.frag 174 B

123456789
  1. struct PSInput {
  2. float interp;
  3. uint no_interp;
  4. };
  5. float4 main(PSInput input : INPUT) : SV_TARGET
  6. {
  7. return float4(float(input.no_interp), input.interp, 0, 1);
  8. }