mirror of
https://github.com/RPCS3/glslang.git
synced 2025-01-14 14:58:00 +00:00
11 lines
237 B
GLSL
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);
|
||
|
}
|