Loading shaders from stream broken?

Not sure if this is a bug.