diff options
author | Jean-Luc Brouillet <jeanluc@google.com> | 2015-03-03 22:55:41 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-03-03 22:55:41 +0000 |
commit | a828cbf5927f1555b47b7dc7fd9f152e156db9e4 (patch) | |
tree | 80edb0d10c8b44393114ae2d50d2399a306e2e8c /scriptc | |
parent | 8176471536317cf0ae0592479b19318c83a7d4e9 (diff) | |
parent | 75cfeace935e56d4581f9df6f5782dcf220b3271 (diff) | |
download | rs-a828cbf5927f1555b47b7dc7fd9f152e156db9e4.tar.gz |
am 75cfeace: Merge "Added a typedef for rs_for_each_strategy."
* commit '75cfeace935e56d4581f9df6f5782dcf220b3271':
Added a typedef for rs_for_each_strategy.
Diffstat (limited to 'scriptc')
-rw-r--r-- | scriptc/rs_core.rsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scriptc/rs_core.rsh b/scriptc/rs_core.rsh index c1c96aa1..92452a5e 100644 --- a/scriptc/rs_core.rsh +++ b/scriptc/rs_core.rsh @@ -95,14 +95,14 @@ extern void __attribute__((overloadable)) * * This is a hint and implementations may not obey the order. */ -enum rs_for_each_strategy { +typedef enum rs_for_each_strategy { 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 -}; +} rs_for_each_strategy_t; /** @@ -110,7 +110,7 @@ enum rs_for_each_strategy { * restrict the call to a subset of cells in the allocation. */ typedef struct rs_script_call { - enum rs_for_each_strategy strategy; + rs_for_each_strategy_t strategy; uint32_t xStart; uint32_t xEnd; uint32_t yStart; |