summaryrefslogtreecommitdiff
path: root/scriptc
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-10-16 00:05:46 -0700
committerStephen Hines <srhines@google.com>2012-10-17 14:53:07 -0700
commitf598811a60088236222bb1879503842094ca378b (patch)
treea0779929f5bf9cb795ef05a4972985565d41e50c /scriptc
parent78b050ea1e13108110ce3b8ead63252e5ebe2468 (diff)
downloadrs-f598811a60088236222bb1879503842094ca378b.tar.gz
Fix use of rs_script_call_t.android-sdk-support_r11
There were a few broken parts here for rs_script_call_t. 1) Incorrect runtime function signatures. 2) Missing enum at the start of the driver structure. 3) Missing update of pointer based on xStart. Bug: 7212879 Change-Id: I25d44d5534ceb61b49b0bbc7cf1b5c6b16bab360
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_core.rsh12
1 files changed, 6 insertions, 6 deletions
diff --git a/scriptc/rs_core.rsh b/scriptc/rs_core.rsh
index 1b0f9db4..2aab5097 100644
--- a/scriptc/rs_core.rsh
+++ b/scriptc/rs_core.rsh
@@ -97,12 +97,12 @@ extern void __attribute__((overloadable))
* This is a hint and implementations may not obey the order.
*/
enum rs_for_each_strategy {
- RS_FOR_EACH_STRATEGY_SERIAL,
- RS_FOR_EACH_STRATEGY_DONT_CARE,
- RS_FOR_EACH_STRATEGY_DST_LINEAR,
- RS_FOR_EACH_STRATEGY_TILE_SMALL,
- RS_FOR_EACH_STRATEGY_TILE_MEDIUM,
- RS_FOR_EACH_STRATEGY_TILE_LARGE
+ RS_FOR_EACH_STRATEGY_SERIAL = 0,
+ RS_FOR_EACH_STRATEGY_DONT_CARE = 1,
+ RS_FOR_EACH_STRATEGY_DST_LINEAR = 2,
+ RS_FOR_EACH_STRATEGY_TILE_SMALL= 3,
+ RS_FOR_EACH_STRATEGY_TILE_MEDIUM = 4,
+ RS_FOR_EACH_STRATEGY_TILE_LARGE = 5
};