bgfx/3rdparty/glslang/Test/hlsl.multiEntry.vert
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

11 lines
237 B
GLSL
Executable File

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);
}