summaryrefslogtreecommitdiffstats
path: root/tests/language-feature/capability/explicit-shader-stage-3.slang
blob: 5bf1431342ee9fc09c96de1fc20d92dd7178b5e4 (plain)
1
2
3
4
5
6
7
8
//TEST:SIMPLE(filecheck=CHECK): -target hlsl -stage vertex -entry main -allow-glsl -profile sm_5_0

//CHECK: warning 38006
[shader("fragment")]
float4 main()
{
    return float4(1.0f);
}