Name of inputs in DominantColorShader.fsh were corrected
OK, now the texture does a roundtrip to the GPU! At last!
DominantColorShader: RGBA to YUV conversion, comparing the fragment to every pixel in the texture, calculating distance and putting the accumulation in the red component of the fragment color output. Significant advance.