summaryrefslogtreecommitdiffstats
path: root/rsProgramVertex.cpp
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2013-01-09 11:52:26 -0800
committerJason Sams <jsams@google.com>2013-01-09 11:52:26 -0800
commita572aca4eb4ddb32c10baa1f529431cfefd756b8 (patch)
tree5c178c44b184767ebf659b655872e1e2d44e37d0 /rsProgramVertex.cpp
parentef3ec7d85f9b53402e8ba50275c73420992c66b0 (diff)
downloadandroid_frameworks_rs-a572aca4eb4ddb32c10baa1f529431cfefd756b8.tar.gz
android_frameworks_rs-a572aca4eb4ddb32c10baa1f529431cfefd756b8.tar.bz2
android_frameworks_rs-a572aca4eb4ddb32c10baa1f529431cfefd756b8.zip
Add support for YUV allocations.
Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
Diffstat (limited to 'rsProgramVertex.cpp')
-rw-r--r--rsProgramVertex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsProgramVertex.cpp b/rsProgramVertex.cpp
index c2ce7eed..52652161 100644
--- a/rsProgramVertex.cpp
+++ b/rsProgramVertex.cpp
@@ -188,7 +188,7 @@ void ProgramVertexState::init(Context *rsc) {
inputBuilder.add(f2Elem.get(), "texture0", 1);
ObjectBaseRef<const Element> attrElem = inputBuilder.create(rsc);
- ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false);
+ ObjectBaseRef<Type> inputType = Type::getTypeRef(rsc, constInput.get(), 1, 0, 0, false, false, 0);
String8 shaderString(RS_SHADER_INTERNAL);
shaderString.append("varying vec4 varColor;\n");