summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rs.spec8
-rw-r--r--rsScript.cpp6
2 files changed, 14 insertions, 0 deletions
diff --git a/rs.spec b/rs.spec
index e9051ac0..226e3af0 100644
--- a/rs.spec
+++ b/rs.spec
@@ -399,6 +399,14 @@ ScriptForEachMulti {
param const RsScriptCall * sc
}
+ScriptReduce {
+ param RsScript s
+ param uint32_t slot
+ param RsAllocation ain
+ param RsAllocation aout
+ param const RsScriptCall * sc
+}
+
ScriptSetVarI {
param RsScript s
param uint32_t slot
diff --git a/rsScript.cpp b/rsScript.cpp
index 7ea9857b..483789cb 100644
--- a/rsScript.cpp
+++ b/rsScript.cpp
@@ -224,6 +224,12 @@ void rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot,
}
}
+void rsi_ScriptReduce(Context *rsc, RsScript vs, uint32_t slot,
+ RsAllocation vain, RsAllocation vaout,
+ const RsScriptCall *sc, size_t scLen) {
+ // TODO(wala)
+}
+
void rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) {
Script *s = static_cast<Script *>(vs);
s->Invoke(rsc, slot, nullptr, 0);