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

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