Glass-Steagall only prevented commercial banks from owning non-investment-grade securities - from what I have read, SVB’s portfolio (of Treasuries and MBS) would’ve been entirely consistent with pre-repeal Glass-Steagall.
SVB would have failed even it held only Treasuries on its book. Those are literally used to define the risk-free rate of return. The assets were not risky. It was their duration mismatch that was the problem.