diff options
Diffstat (limited to 'render_simple_dswiz.hlps')
-rw-r--r-- | render_simple_dswiz.hlps | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/render_simple_dswiz.hlps b/render_simple_dswiz.hlps new file mode 100644 index 0000000..be01390 --- /dev/null +++ b/render_simple_dswiz.hlps @@ -0,0 +1,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.a;
+}
|