diff options
author | 2009-08-13 12:59:04 -0700 | |
---|---|---|
committer | 2009-08-13 12:59:04 -0700 | |
commit | fbf0b9ecda03fbdbd4ebabfd18da09a789686249 (patch) | |
tree | 6c321ebb1d011aae9961ed7c046645028b05da86 /libs/rs/rsScript.h | |
parent | 1b52aae4d908fcf749e9a8d86bb0a33c70728c56 (diff) |
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
Diffstat (limited to 'libs/rs/rsScript.h')
-rw-r--r-- | libs/rs/rsScript.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsScript.h b/libs/rs/rsScript.h index 6983ef43c663..dc667633b488 100644 --- a/libs/rs/rsScript.h +++ b/libs/rs/rsScript.h @@ -56,11 +56,11 @@ public: }; Enviroment_t mEnviroment; - const Type * mConstantBufferTypes; uint32_t mCounstantBufferCount; ObjectBaseRef<Allocation> mSlots[MAX_SCRIPT_BANKS]; - ObjectBaseRef<Type> mTypes[MAX_SCRIPT_BANKS]; + ObjectBaseRef<const Type> mTypes[MAX_SCRIPT_BANKS]; + String8 mSlotNames[MAX_SCRIPT_BANKS]; virtual bool run(Context *, uint32_t launchID) = 0; }; |