src/video/windowsrt/SimplePixelShader.hlsl
author David Ludwig <dludwig@pobox.com>
Tue, 08 Jan 2013 23:11:22 -0500
changeset 8384 bc7a52629e1e
parent 8348 7cdcd6d28c85
permissions -rw-r--r--
WinRT: converted tabs to spaces in src/video/windowsrt/*
     1 Texture2D theTexture : register(t0);
     2 SamplerState theSampler : register(s0);
     3 
     4 struct PixelShaderInput
     5 {
     6     float4 pos : SV_POSITION;
     7 
     8     float2 tex : TEXCOORD0;
     9 };
    10 
    11 float4 main(PixelShaderInput input) : SV_TARGET
    12 {
    13     //return float4(input.color,1.0f);
    14     return theTexture.Sample(theSampler, input.tex);
    15 }