From 7b9e5184b767c3627d7b6e00b84157b2ed0f2bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 1 Dec 2015 21:20:19 +0100 Subject: [PATCH] Removed old amd-explicit-location-crash workaround. Seems to be not crashing anymore. --- src/Magnum/Implementation/driverSpecific.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Magnum/Implementation/driverSpecific.cpp b/src/Magnum/Implementation/driverSpecific.cpp index e282739b3..3eadcbdf7 100644 --- a/src/Magnum/Implementation/driverSpecific.cpp +++ b/src/Magnum/Implementation/driverSpecific.cpp @@ -40,10 +40,6 @@ namespace { version instead of selecting latest available version */ "amd-nv-no-forward-compatible-core-context", - /* Using ARB_explicit_uniform_location on AMD linux drivers 13.251 - caused the GLSL compiler to crash */ - "amd-explicit-uniform-location-crash", - #ifdef CORRADE_TARGET_WINDOWS /* On Windows Intel drivers ARB_shading_language_420pack is exposed in GLSL even though the extension (e.g. binding keyword) is not @@ -157,9 +153,6 @@ void Context::setupDriverWorkarounds() { _extensionRequiredVersion[Extensions::extension::Index] = Version::version #ifndef MAGNUM_TARGET_GLES - if((detectedDriver() & DetectedDriver::AMD) && !isDriverWorkaroundDisabled("amd-explicit-uniform-location-crash")) - _setRequiredVersion(GL::ARB::explicit_uniform_location, None); - #ifdef CORRADE_TARGET_WINDOWS if((detectedDriver() & DetectedDriver::IntelWindows) && !isExtensionSupported() && !isDriverWorkaroundDisabled("intel-windows-glsl-exposes-unsupported-shading-language-420pack")) _setRequiredVersion(GL::ARB::shading_language_420pack, None);