• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2// Verify that coverage mask is an array, as required by SPIR-V.
3
4struct PS_INPUT
5{
6};
7
8struct PS_OUTPUT
9{
10    float4 vColor : SV_Target0;
11    uint nCoverageMask : SV_Coverage;
12};
13
14PS_OUTPUT main( PS_INPUT i )
15{
16    PS_OUTPUT o;
17    o.vColor = float4(1.0, 0.0, 0.0, 1.0);
18    o.nCoverageMask = 0;
19    return o;
20}
21