6 static const float4 bar = foo; // test const (in the immutable sense) initializer from non-const.
8 static const float2 a1[2] = { { 1, 2 }, { foo.x, 4 } }; // not entirely constant
9 static const float2 a2[2] = { { 5, 6 }, { 7, 8 } }; // entirely constant
11 float4 main() : SV_Target0