blob: bd347d94fbba3bf6b237bbae7a559f6c7b419b4f (
plain)
1
2
3
4
5
6
7
8
9
|
//TEST:SIMPLE(filecheck=WGSL): -target wgsl -stage fragment -entry main
//WGSL-DAG: @builtin(sample_index)
//WGSL-DAG: @fragment
float4 main(uint sampleIndex : SV_SampleIndex) : SV_Target
{
return float4(1,1,1,1);
}
|