Fairly common pattern in unoptimized SPIR-V. Support this case as well.
Also, update other tests.
Move arrays and structs out to their own global static constants. Also, replace illegal names in HLSL as well.