55
66#ifdef MSAA_ALPHATEST_DX10_1
77#if MSAA_SAMPLES == 2
8- static const float2 MSAAOffsets [2 ] = { float2 (4 ,4 ), float2 (-4 ,-4 ) };
8+ const float2 MSAAOffsets [2 ] = { float2 (4 ,4 ), float2 (-4 ,-4 ) };
99#endif
1010#if MSAA_SAMPLES == 4
11- static const float2 MSAAOffsets [4 ] = { float2 (-2 ,-6 ), float2 (6 ,-2 ), float2 (-6 ,2 ), float2 (2 ,6 ) };
11+ const float2 MSAAOffsets [4 ] = { float2 (-2 ,-6 ), float2 (6 ,-2 ), float2 (-6 ,2 ), float2 (2 ,6 ) };
1212#endif
1313#if MSAA_SAMPLES == 8
14- static const float2 MSAAOffsets [8 ] = { float2 (1 ,-3 ), float2 (-1 ,3 ), float2 (5 ,1 ), float2 (-3 ,-5 ),
14+ const float2 MSAAOffsets [8 ] = { float2 (1 ,-3 ), float2 (-1 ,3 ), float2 (5 ,1 ), float2 (-3 ,-5 ),
1515 float2 (-5 ,5 ), float2 (-7 ,-1 ), float2 (3 ,7 ), float2 (7 ,-7 ) };
1616#endif
1717#endif // MSAA_ALPHATEST_DX10_1
@@ -35,8 +35,8 @@ float4 tbase( float2 tc )
3535
3636#if defined(ALLOW_STEEPPARALLAX ) && defined(USE_STEEPPARALLAX )
3737
38- static const float fParallaxStartFade = 8.0f ;
39- static const float fParallaxStopFade = 12.0f ;
38+ const float fParallaxStartFade = 8.0f ;
39+ const float fParallaxStopFade = 12.0f ;
4040
4141void UpdateTC ( inout p_bumped I )
4242{
0 commit comments