diff options
author | 2012-02-23 09:58:56 -0800 | |
---|---|---|
committer | 2012-02-23 09:58:56 -0800 | |
commit | a16c98c155a51a035719bef5b76e973ee2295795 (patch) | |
tree | 63d345a1e3eab736b66e7de516ba55783c22b3ab /libs/rs/rsScriptC.cpp | |
parent | a172b6e96909186451a6a968b8e70872f6753c10 (diff) | |
parent | 473a2048d3c54fe38b6f9a58457645c9c472b238 (diff) |
Merge "Support running ForEach on non-root functions."
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
-rw-r--r-- | libs/rs/rsScriptC.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index b4eb995aed2f..79725b97e03f 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 The Android Open Source Project + * Copyright (C) 2009-2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -128,6 +128,7 @@ uint32_t ScriptC::run(Context *rsc) { void ScriptC::runForEach(Context *rsc, + uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, @@ -138,7 +139,7 @@ void ScriptC::runForEach(Context *rsc, setupGLState(rsc); setupScript(rsc); - rsc->mHal.funcs.script.invokeForEach(rsc, this, 0, ain, aout, usr, usrBytes, sc); + rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); } void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { |