diff options
author | Anton Fedchin <afedchin@ruswizards.com> | 2016-01-08 22:17:44 +0300 |
---|---|---|
committer | Anton Fedchin <afedchin@ruswizards.com> | 2016-01-08 22:20:22 +0300 |
commit | f9a6a96d011f4067631ed0bd87184b6cc65e69a1 (patch) | |
tree | fa021339c4f2018130380fbada79210e3f3c6285 /system | |
parent | d0d77ad2a4076ab056f47002072a4254ff304607 (diff) |
[win32] Fixed convolution-6x6_d3d.fx shader.
Diffstat (limited to 'system')
-rw-r--r-- | system/shaders/convolution-6x6_d3d.fx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system/shaders/convolution-6x6_d3d.fx b/system/shaders/convolution-6x6_d3d.fx index d2f583a2c5..9ef8c080d8 100644 --- a/system/shaders/convolution-6x6_d3d.fx +++ b/system/shaders/convolution-6x6_d3d.fx @@ -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; |