diff options
| author | Jason Sams <rjsams@android.com> | 2010-12-08 16:14:36 -0800 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-12-08 16:14:36 -0800 |
| commit | 366c9c85196675437a8dd74c1cf6b63ddbde3d6a (patch) | |
| tree | 5c2fa953f13572a1bfb052ba0062ade982a9e06b /rsProgramVertex.cpp | |
| parent | f17b13be814135b85e6aed7e3cca441c8e00e8c4 (diff) | |
| download | android_frameworks_rs-366c9c85196675437a8dd74c1cf6b63ddbde3d6a.tar.gz android_frameworks_rs-366c9c85196675437a8dd74c1cf6b63ddbde3d6a.tar.bz2 android_frameworks_rs-366c9c85196675437a8dd74c1cf6b63ddbde3d6a.zip | |
Allocation API update.
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
Diffstat (limited to 'rsProgramVertex.cpp')
| -rw-r--r-- | rsProgramVertex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsProgramVertex.cpp b/rsProgramVertex.cpp index a28b9bd1..ad2beafb 100644 --- a/rsProgramVertex.cpp +++ b/rsProgramVertex.cpp @@ -261,7 +261,7 @@ void ProgramVertexState::init(Context *rsc) { ProgramVertex *pv = new ProgramVertex(rsc, shaderString.string(), shaderString.length(), tmp, 4); - Allocation *alloc = new Allocation(rsc, inputType); + Allocation *alloc = new Allocation(rsc, inputType, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); pv->bindAllocation(rsc, alloc, 0); mDefaultAlloc.set(alloc); |
