Merge "Make launchtestxlw use constant."
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 @@
 
 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;
     }
 }