blob: 04c157aa62765df127a9d32269bf82854aa4adb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//TEST:SIMPLE(filecheck=METAL): -target metal -stage vertex -entry vertexMain
//TEST:SIMPLE(filecheck=METALLIB): -target metallib -stage vertex -entry vertexMain
//METAL: [position]]
//METALLIB: @vertexMain
// Vertex Shader which writes to position
void vertexMain(out float4 position : SV_Position, in uint vertexID : SV_VertexID)
{
position = float4(0.6, 0.1, 0.6, 0.33);
}
|