blob: d4d797a267c143f9277274eebf05e42af3248f58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//TEST:REFLECTION:-profile ps_5_0 -target hlsl -no-codegen
// Confirm that we register a shader as sample-rate when
// it declares `SV_SampleIndex` as an input.
struct PSInput
{
float4 color : COLOR;
uint sampleIndex : SV_SampleIndex;
};
float4 main(PSInput input) : SV_Target
{
return input.color;
}
|