I was able to reproduce the problem you encountered and double-check it from the records of my previous experiments with the insides. I think there are a few bugs in the internal Renderscript code.
-1- If you want the scripting group to work with internal components, the sequence below works.
mBlur.setInput(mInAllocation);
sBuilder = new ScriptGroup.Builder(mRS);
sBuilder.addKernel(mBlur.getKernelID());
sBuilder.addKernel(mColor.getKernelID());
sBuilder.addConnection(connect, mBlur.getKernelID(), mColor.getKernelID());
sGroup = sBuilder.create();
// sGroup.setInput(mBlur.getKernelID(), mInAllocation); //See point 2
sGroup.setOutput(mColor.getKernelID(), mOutAllocation);
sGroup.execute();
mOutAllocation.copyTo(outBitmap);
mRS.finish();
-2-
. mBlur.setInput(), sGroup.setInput(). sGroup.setInput(), , , , .
E/RenderScript(12023): rsAssert failed: !"ScriptGroup:setInput kid not found", in frameworks/rs/rsScriptGroup.cpp at 267
-1- , sGroup.setInput() mBlur.setInput()
E/RenderScript(12023): Blur executed without input, skipping
, () Renderscript
-3-
, , ScriptIntrinsicColorMatrix ScriptIntrinsicBlur , ( ). Blur intrinsic setInput, colorMatrix setInput. -1- .
-4-
, Renderscript
intrinsic.setInput , ScriptIntrinsicColorMatrix, ScriptGroup.setInput .
-5-
scriptgroup, . , scriptGroup.setInput() scriptGroup.setOutput()