summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuIntrinsicBlur.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-09-04 01:57:36 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-04 01:57:36 +0000
commitbf2963268010b1e17cba00674a73287bf12a1be9 (patch)
treeef28975c64bff74c5b6118c01f11f20157f707bb /cpu_ref/rsCpuIntrinsicBlur.cpp
parent2814db983a5942c0fc612323030ddb9449f8e7b4 (diff)
parent2993761fda2146755533886495691936a78871ac (diff)
downloadrs-bf2963268010b1e17cba00674a73287bf12a1be9.tar.gz
am 2993761f: Merge "Fix bugs for x86 platform"
* commit '2993761fda2146755533886495691936a78871ac': Fix bugs for x86 platform
Diffstat (limited to 'cpu_ref/rsCpuIntrinsicBlur.cpp')
-rw-r--r--cpu_ref/rsCpuIntrinsicBlur.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuIntrinsicBlur.cpp b/cpu_ref/rsCpuIntrinsicBlur.cpp
index 26d589ea..9c6433a5 100644
--- a/cpu_ref/rsCpuIntrinsicBlur.cpp
+++ b/cpu_ref/rsCpuIntrinsicBlur.cpp
@@ -172,6 +172,8 @@ static void OneVFU4(float4 *out,
rsdIntrinsicBlurVFU4_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t);
}
x1 += t;
+ out += t;
+ ptrIn += t << 2;
}
#endif
while(x2 > x1) {