rt64/examples/shaders/RenderInterfaceTestVS.hlsl
David Chavez 61aa08f517
Add Metal Support (#9)
Co-authored-by: Isaac Marovitz <isaacryu@icloud.com>
Co-authored-by: tanmaysachan <tnmysachan@gmail.com>
Co-authored-by: Dario <dariosamo@gmail.com>
2025-03-11 06:15:21 +01:00

8 lines
211 B
HLSL

//
// RT64
//
void VSMain(in float2 vertexPos : POSITION, in float2 vertexUV : TEXCOORD0, out float4 pos : SV_POSITION, out float2 uv : TEXCOORD0) {
pos = float4(vertexPos, 0.5f, 1.0f);
uv = vertexUV;
}