summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
-rw-r--r--cpu_ref/rsCpuScript.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp
index a88af2fe..0400fab7 100644
--- a/cpu_ref/rsCpuScript.cpp
+++ b/cpu_ref/rsCpuScript.cpp
@@ -548,10 +548,8 @@ bool RsdCpuScriptImpl::setUpMtlsDimensions(MTLaunchStructCommon *mtls,
SET_UP_DIMENSION(x, x);
SET_UP_DIMENSION(y, y);
SET_UP_DIMENSION(z, z);
- SET_UP_DIMENSION(array[0], array);
- SET_UP_DIMENSION(array[1], array2);
- SET_UP_DIMENSION(array[2], array3);
- SET_UP_DIMENSION(array[3], array4);
+ // Checks and setup of fields other than x, y, z are ignored, since those
+ // fields are not used in the runtime and are not visible in the Java API.
#undef SET_UP_DIMENSION
return true;