diff --git a/test/bug/bug_ms_vec_static.cpp b/test/bug/bug_ms_vec_static.cpp index e6ce7d34..6b84aa5d 100644 --- a/test/bug/bug_ms_vec_static.cpp +++ b/test/bug/bug_ms_vec_static.cpp @@ -1,23 +1,4 @@ -enum precision -{ - packed_highp, - packed_mediump, - packed_lowp, - - aligned_highp, - aligned_mediump, - aligned_lowp, - aligned = aligned_highp, - - highp = packed_highp, - mediump = packed_mediump, - lowp = packed_lowp, - packed = packed_highp, - - defaultp = highp -}; - -template struct vec2; +template struct vec2; template struct _swizzle_base0 @@ -25,36 +6,36 @@ struct _swizzle_base0 char _buffer[1]; }; -template +template struct _swizzle_base1 : public _swizzle_base0 { }; -template -struct _swizzle_base1 : public _swizzle_base0 +template +struct _swizzle_base1 : public _swizzle_base0 { }; -template -struct _swizzle_base2 : public _swizzle_base1 +template +struct _swizzle_base2 : public _swizzle_base1 { }; -template -struct _swizzle_base2 : public _swizzle_base1 +template +struct _swizzle_base2 : public _swizzle_base1 { }; -template -struct _swizzle : public _swizzle_base2 +template +struct _swizzle : public _swizzle_base2 { }; -template +template struct vec2 { constexpr vec2(T x, T y) : @@ -64,11 +45,11 @@ struct vec2 union { struct { T x, y; }; - struct { _swizzle xx; }; + struct { _swizzle xx; }; }; }; -typedef vec2 float2; +typedef vec2 float2; // Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler. float2 const Bar(1.f, 1.f);