For EEVEE transparent materials can be ordered according to their view
depth. In some occasions the depth ordering contained shading groups
that only have DRWState changes. When that happens the actual view depth
could not be determined. The assert addresses these cases.
A better solution would be to find the cases when this happens and don
't create these empty shading groups.