diff --git a/src/Magnum/GL/Test/AbstractShaderProgramGLTest.cpp b/src/Magnum/GL/Test/AbstractShaderProgramGLTest.cpp index 54285d1b9..dd1ec6dfd 100644 --- a/src/Magnum/GL/Test/AbstractShaderProgramGLTest.cpp +++ b/src/Magnum/GL/Test/AbstractShaderProgramGLTest.cpp @@ -820,7 +820,11 @@ void main() { Containers::Pair result = program.validate(); MAGNUM_VERIFY_NO_GL_ERROR(); { - CORRADE_EXPECT_FAIL_IF(Context::current().detectedDriver() & Context::DetectedDriver::NVidia, "NVidia doesn't treat conflicting sampler locations as a failure."); + CORRADE_EXPECT_FAIL_IF(Context::current().detectedDriver() & Context::DetectedDriver::NVidia, + "NVidia doesn't treat conflicting sampler locations as a failure."); + /* Likely also other versions. Fails as expected on Mesa 24 and 25. */ + CORRADE_EXPECT_FAIL_IF(Context::current().versionString().contains("Mesa 20"), + "Mesa 20 doesn't treat conflicting sampler locations as a failure."); CORRADE_VERIFY(!result.first()); /* The message shouldn't be empty */ CORRADE_COMPARE_AS(result.second(),