src/video/windowsrt/SimpleVertexShader.hlsl
author David Ludwig <dludwig@pobox.com>
Tue, 08 Jan 2013 23:11:22 -0500
changeset 8384 bc7a52629e1e
parent 8348 7cdcd6d28c85
child 8418 5230bba62cf2
permissions -rw-r--r--
WinRT: converted tabs to spaces in src/video/windowsrt/*
     1 
     2 //#pragma pack_matrix( row_major )
     3 
     4 struct VertexShaderInput
     5 {
     6     float3 pos : POSITION;
     7     float2 tex : TEXCOORD0;
     8 };
     9 
    10 struct VertexShaderOutput
    11 {
    12     float4 pos : SV_POSITION;
    13     float2 tex : TEXCOORD0;
    14 };
    15 
    16 VertexShaderOutput main(VertexShaderInput input)
    17 {
    18     VertexShaderOutput output;
    19     output.pos = float4(input.pos, 1.0f);
    20     output.tex = input.tex;
    21     return output;
    22 }