@@ -151,10 +151,6 @@ static Cvar::Cvar<bool> workaround_glDriver_amd_oglp_disableBindlessTexture(
151151 " workaround.glDriver.amd.oglp.disableBindlessTexture" ,
152152 " Disable ARB_bindless_texture on AMD OGLP driver" ,
153153 Cvar::NONE, true );
154- static Cvar::Cvar<bool > workaround_glDriver_gl4es_assumeSmoothstep (
155- " workaround.glDriver.gl4es.assumeSmoothstep" ,
156- " Assume smoothstep is always declared on GL4ES" ,
157- Cvar::NONE, true );
158154static Cvar::Cvar<bool > workaround_glDriver_gl4es_disableIncrementalShaderCompilation (
159155 " workaround.glDriver.gl4es.disableIncrementalShaderCompilation" ,
160156 " Disable incremental shader compilation on GL4ES" ,
@@ -2117,13 +2113,6 @@ static void GLimp_InitExtensions()
21172113
21182114 if ( glConfig.driverVendor == glDriverVendor_t::GL4ES )
21192115 {
2120- if ( glConfig.shadingLanguageVersion <= 120
2121- && workaround_glDriver_gl4es_assumeSmoothstep.Get () )
2122- {
2123- logger.Notice ( " Found GLSL 1.20 on GL4ES translation layer, assuming smoothstep() is always declared." );
2124- glConfig.assumeSmoothstep = true ;
2125- }
2126-
21272116 if ( glConfig.incrementalShaderCompilation
21282117 && workaround_glDriver_gl4es_disableIncrementalShaderCompilation.Get () )
21292118 {
@@ -2985,7 +2974,6 @@ bool GLimp_Init()
29852974
29862975 Cvar::Latch ( workaround_glDriver_amd_adrenalin_disableBindlessTexture );
29872976 Cvar::Latch ( workaround_glDriver_amd_oglp_disableBindlessTexture );
2988- Cvar::Latch ( workaround_glDriver_gl4es_assumeSmoothstep );
29892977 Cvar::Latch ( workaround_glDriver_gl4es_disableIncrementalShaderCompilation );
29902978 Cvar::Latch ( workaround_glDriver_gl4es_disableMat3x2 );
29912979 Cvar::Latch ( workaround_glDriver_gl4es_disableTexture3D );
0 commit comments