glslang/Test/hlsl.multiEntry.vert
2018-08-07 03:16:20 +09:00

11 lines
237 B
GLSL

Buffer<float4> Position;
float4 FakeEntrypoint(uint Index : SV_VERTEXID) : SV_POSITION
{
return Position.Load(Index);
}
float4 RealEntrypoint(uint Index : SV_VERTEXID) : SV_POSITION
{
return FakeEntrypoint(Index);
}