commit | e6a7886674c167b4e17f6dc72d41d5b9c604cdd1 | [log] [tgz] |
---|---|---|
author | Jason Sams <jsams@google.com> | Mon Oct 15 15:45:12 2012 -0700 |
committer | Jason Sams <jsams@google.com> | Mon Oct 15 15:52:22 2012 -0700 |
tree | ba9051e07c9eb56420eb72f286b8a0842f6a0415 | |
parent | 477687c1eb1919c54e2bffba2a740df3b4af6668 [diff] [blame] |
Fix bugs in scriptGroup. Intrinsics were treating inputs as fields rather than varObjs. This would generate a lot of extra work for the reflection layers. Also we would like to deprecate this path in the future. bug 7318821 Change-Id: I81e8c562ba05aae5d085d5c08e91e2c4877265c5
diff --git a/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java b/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java index ff31270..1f52e3f 100644 --- a/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java +++ b/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java
@@ -61,7 +61,7 @@ */ public void setInput(Allocation ain) { mInput = ain; - bindAllocation(ain, 1); + setVar(1, ain); } /**