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/*
dludwig@8347
     1
Texture2D theTexture : register(t0);
dludwig@8347
     2
SamplerState theSampler : register(s0);
dludwig@8347
     3
dludwig@8322
     4
struct PixelShaderInput
dludwig@8322
     5
{
dludwig@8384
     6
    float4 pos : SV_POSITION;
dludwig@8348
     7
dludwig@8384
     8
    float2 tex : TEXCOORD0;
dludwig@8322
     9
};
dludwig@8322
    10
dludwig@8322
    11
float4 main(PixelShaderInput input) : SV_TARGET
dludwig@8322
    12
{
dludwig@8384
    13
    //return float4(input.color,1.0f);
dludwig@8384
    14
    return theTexture.Sample(theSampler, input.tex);
dludwig@8322
    15
}