diff options
author | bobo1on1 <bobo1on1@svn> | 2010-01-15 17:17:57 +0000 |
---|---|---|
committer | bobo1on1 <bobo1on1@svn> | 2010-01-15 17:17:57 +0000 |
commit | 08402d379db7821ce28c82fab76ce43d40c38e6e (patch) | |
tree | e9a4947b5b08804ff3dfe0908b83abec65e670c4 /system/shaders | |
parent | 138337125c0fd3ac0878f7bc18df6e046bdccc88 (diff) |
fixed: comments
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26877 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'system/shaders')
-rw-r--r-- | system/shaders/convolution-4x4.glsl | 2 | ||||
-rw-r--r-- | system/shaders/convolution-6x6.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/shaders/convolution-4x4.glsl b/system/shaders/convolution-4x4.glsl index b3de7d61de..b947df832c 100644 --- a/system/shaders/convolution-4x4.glsl +++ b/system/shaders/convolution-4x4.glsl @@ -14,7 +14,7 @@ uniform sampler2D kernelTex; vec4 weight(float pos) { - //row 0 contains the integral part, row 1 contains the fractional + //row 0 contains the integer part, row 1 contains the fractional return (texture2D(kernelTex, vec2(pos, 0.0)) * 256.0 + texture2D(kernelTex, vec2(pos, 1.0))) / 128.5 - 1.0; } #endif diff --git a/system/shaders/convolution-6x6.glsl b/system/shaders/convolution-6x6.glsl index 95b51361a4..6a5bb4f47e 100644 --- a/system/shaders/convolution-6x6.glsl +++ b/system/shaders/convolution-6x6.glsl @@ -14,7 +14,7 @@ uniform sampler2D kernelTex; vec3 weight(float pos) { - //row 0 contains the integral part, row 1 contains the fractional + //row 0 contains the integer part, row 1 contains the fractional return ((texture2D(kernelTex, vec2(pos, 0.0)) * 256.0 + texture2D(kernelTex, vec2(pos, 1.0)))).rgb / 128.5 - 1.0; } #endif |