diff options
author | Stephen Hines <srhines@google.com> | 2011-10-13 19:29:33 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2011-10-13 19:29:33 -0700 |
commit | 74ff61032fbcdc810501b72da5428d79b164858a (patch) | |
tree | 469389a25d7c2290c93d22f18aa9970a0cdea32d /tests/RenderScriptTests | |
parent | bc82c349f1c3cd0c0340c61f876ed5af518b11f7 (diff) | |
download | frameworks_base-74ff61032fbcdc810501b72da5428d79b164858a.zip frameworks_base-74ff61032fbcdc810501b72da5428d79b164858a.tar.gz frameworks_base-74ff61032fbcdc810501b72da5428d79b164858a.tar.bz2 |
Make launchtestxlw use constant.
Change-Id: I0f9cd3cc2f042a9471ecf1df9e4764cad8ad5ef6
Diffstat (limited to 'tests/RenderScriptTests')
-rw-r--r-- | tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs b/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs index 47ae8ca..7b81dfe 100644 --- a/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs +++ b/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs @@ -22,8 +22,8 @@ uint8_t *buf; void root(uchar *v_out, uint32_t x) { uint8_t *p = buf; - p += x * 2048; - for (int i=0; i<2048; i++) { + p += x * dim; + for (int i=0; i<dim; i++) { p[i] = 1; } } |