diff options
| author | 2010-01-06 11:57:52 -0800 | |
|---|---|---|
| committer | 2010-01-06 12:01:51 -0800 | |
| commit | a09a6e145b778861f7abee86ce17e59507ed221e (patch) | |
| tree | 15221ba7d657a5a75ec3f6ae2804c1b79a07a969 /libs/rs/rsProgram.h | |
| parent | 432bff01ec67533dbbb6ed27cb190c99e83ea226 (diff) | |
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
Diffstat (limited to 'libs/rs/rsProgram.h')
| -rw-r--r-- | libs/rs/rsProgram.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsProgram.h b/libs/rs/rsProgram.h index dc3a57c3e1a0..4bb7802fa49d 100644 --- a/libs/rs/rsProgram.h +++ b/libs/rs/rsProgram.h @@ -42,6 +42,8 @@ public: void bindAllocation(Allocation *); virtual void createShader(); + bool isUserProgram() const {return mUserShader.size() > 0;} + void bindTexture(uint32_t slot, Allocation *); void bindSampler(uint32_t slot, Sampler *); |