Is there any way to check if OpenGL draw command has produced any fragments? For example in the case of Depth Peeling for a transparent object I don't want to render consequent iterations if during the previous iteration no additional fragments were produced during the draw calls due to discards or depth test failures.