projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4a394f
)
[win32] Fixed convolution-6x6_d3d.fx shader.
author
Anton Fedchin
<afedchin@ruswizards.com>
Fri, 8 Jan 2016 19:17:44 +0000
(22:17 +0300)
committer
Anton Fedchin
<afedchin@ruswizards.com>
Sun, 7 Feb 2016 19:31:24 +0000
(22:31 +0300)
system/shaders/convolution-6x6_d3d.fx
patch
|
blob
|
history
diff --git
a/system/shaders/convolution-6x6_d3d.fx
b/system/shaders/convolution-6x6_d3d.fx
index
d2f583a
..
9ef8c08
100644
(file)
--- 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_
OUT
PUT In)
+VS_OUTPUT VS(VS_
IN
PUT In)
{
VS_OUTPUT output = (VS_OUTPUT)0;
output.Position.x = (In.Position.x / (g_viewPort.x / 2.0)) - 1;