I think checking the conditions and emitting the warning should be done in the UniformPixelRenderer.