summaryrefslogtreecommitdiff
path: root/render_simple.hlps
blob: 6336a72acef329a818fa60838c67d011e0a5c057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Automatically generated file; do not edit */

/* simple render shader */

SamplerState src_sample : register(s0);
SamplerState mask_sample : register(s1);

Texture2D src : register(t0);
Texture2D mask : register(t1);

struct PS_INPUT {
    float2 src_pos : TEXCOORD0;
    float2 mask_pos : TEXCOORD1;
};

float4 main(PS_INPUT input) : SV_TARGET
{
    float4 s = src.Sample(src_sample, input.src_pos);

    return s;
}