diff options
Diffstat (limited to 'libs/rs/rsProgram.h')
| -rw-r--r-- | libs/rs/rsProgram.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/rs/rsProgram.h b/libs/rs/rsProgram.h index 86f85fb..ddc5e8a 100644 --- a/libs/rs/rsProgram.h +++ b/libs/rs/rsProgram.h @@ -72,6 +72,11 @@ protected: uint32_t mConstantCount; bool mIsValid; + // Applies to vertex and fragment shaders only + void appendUserConstants(); + void setupUserConstants(ShaderCache *sc, bool isFragment); + void initAddUserElement(const Element *e, String8 *names, uint32_t *count, const char *prefix); + ObjectBaseRef<Allocation> mConstants[MAX_UNIFORMS]; mutable bool mDirty; |
