[win32] Fixed convolution-6x6_d3d.fx shader.
authorAnton Fedchin <afedchin@ruswizards.com>
Fri, 8 Jan 2016 19:17:44 +0000 (22:17 +0300)
committerAnton Fedchin <afedchin@ruswizards.com>
Sun, 7 Feb 2016 19:31:24 +0000 (22:31 +0300)
system/shaders/convolution-6x6_d3d.fx

index d2f583a..9ef8c08 100644 (file)
@@ -38,6 +38,12 @@ SamplerState KernelSampler : IMMUTABLE
   Filter   = MIN_MAG_MIP_LINEAR;
 };
 
+struct VS_INPUT
+{
+  float4 Position   : POSITION;
+  float2 TextureUV  : TEXCOORD0;
+};
+
 struct VS_OUTPUT
 {
   float2 TextureUV  : TEXCOORD0;
@@ -47,7 +53,7 @@ struct VS_OUTPUT
 //
 // VS for rendering in screen space
 //
-VS_OUTPUT VS(VS_OUTPUT In)
+VS_OUTPUT VS(VS_INPUT In)
 {
   VS_OUTPUT output  = (VS_OUTPUT)0;
   output.Position.x =  (In.Position.x / (g_viewPort.x  / 2.0)) - 1;