File tree Expand file tree Collapse file tree 5 files changed +16
-2
lines changed Expand file tree Collapse file tree 5 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -1259,6 +1259,7 @@ bool LLGLManager::initGL()
1259
1259
glGetIntegerv (GL_MAX_INTEGER_SAMPLES, &mMaxIntegerSamples );
1260
1260
glGetIntegerv (GL_MAX_SAMPLE_MASK_WORDS, &mMaxSampleMaskWords );
1261
1261
glGetIntegerv (GL_MAX_SAMPLES, &mMaxSamples );
1262
+ glGetIntegerv (GL_MAX_VARYING_VECTORS, &mMaxVaryingVectors );
1262
1263
glGetIntegerv (GL_MAX_UNIFORM_BLOCK_SIZE, &mMaxUniformBlockSize );
1263
1264
1264
1265
// sanity clamp max uniform block size to 64k just in case
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ class LLGLManager
88
88
S32 mGLMaxTextureSize ;
89
89
F32 mMaxAnisotropy = 0 .f;
90
90
S32 mMaxUniformBlockSize = 0 ;
91
+ S32 mMaxVaryingVectors = 0 ;
91
92
92
93
// GL 4.x capabilities
93
94
bool mHasCubeMapArray = false ;
Original file line number Diff line number Diff line change 1
- version 72
1
+ version 73
2
2
// The version number above should be incremented IF AND ONLY IF some
3
3
// change has been made that is sufficiently important to justify
4
4
// resetting the graphics preferences of all users to the recommended
@@ -428,3 +428,7 @@ RenderVintageMode 1 1
428
428
429
429
list TexUnit16orLess
430
430
RenderTerrainPBRDetail 1 -1
431
+
432
+ list VaryingVectors16orLess
433
+ RenderTerrainPBRPlanarSampleCount 1 1
434
+
Original file line number Diff line number Diff line change 1
- version 66
1
+ version 67
2
2
// The version number above should be incremented IF AND ONLY IF some
3
3
// change has been made that is sufficiently important to justify
4
4
// resetting the graphics preferences of all users to the recommended
@@ -426,3 +426,7 @@ RenderReflectionProbeDetail 0 0
426
426
RenderReflectionsEnabled 0 0
427
427
RenderMirrors 0 0
428
428
RenderVintageMode 1 1
429
+
430
+ list VaryingVectors16orLess
431
+ RenderTerrainPBRPlanarSampleCount 1 1
432
+
Original file line number Diff line number Diff line change @@ -721,6 +721,10 @@ void LLFeatureManager::applyBaseMasks()
721
721
// Make extra sure that vintage mode also gets enabled.
722
722
gSavedSettings .setBOOL (" RenderVintageMode" , true );
723
723
}
724
+ if (gGLManager .mMaxVaryingVectors <= 16 )
725
+ {
726
+ maskFeatures (" VaryingVectors16orLess" );
727
+ }
724
728
725
729
// now mask by gpu string
726
730
// Replaces ' ' with '_' in mGPUString to deal with inability for parser to handle spaces
You can’t perform that action at this time.
0 commit comments