projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git]
/
Test
/
hlsl.coverage.frag
1
2
// Verify that coverage mask is an array, as required by SPIR-V.
3
4
struct PS_INPUT
5
{
6
};
7
8
struct PS_OUTPUT
9
{
10
float4 vColor : SV_Target0;
11
uint nCoverageMask : SV_Coverage;
12
};
13
14
PS_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
}