mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-03 02:01:27 -06:00
6 lines
254 B
HLSL
6 lines
254 B
HLSL
void main(in uint vertexId : SV_VertexID, out float4 position : SV_Position, out float2 texCoord : TEXCOORD)
|
|
{
|
|
texCoord = float2((vertexId << 1) & 2, vertexId & 2);
|
|
position = float4(texCoord * float2(2.0, -2.0) + float2(-1.0, 1.0), 0.0, 1.0);
|
|
}
|