Browse Source

GL: this seems broken only on Mesa Intel, llvmpipe works.

pull/680/head
Vladimír Vondruš 10 months ago
parent
commit
493814d3bc
  1. 6
      src/Magnum/GL/Test/TextureGLTest.cpp

6
src/Magnum/GL/Test/TextureGLTest.cpp

@ -2745,8 +2745,10 @@ void TextureGLTest::subImage3DQueryBuffer() {
MAGNUM_VERIFY_NO_GL_ERROR(); MAGNUM_VERIFY_NO_GL_ERROR();
CORRADE_COMPARE(image.size(), Vector3i{2}); CORRADE_COMPARE(image.size(), Vector3i{2});
CORRADE_EXPECT_FAIL_IF(Context::current().detectedDriver() & Context::DetectedDriver::Mesa, /* Works fine with llvmpipe. No idea about Mesa AMD and such. */
"Mesa has this broken since 21.2, worked fine with 21.1."); CORRADE_EXPECT_FAIL_IF(
Context::current().rendererString().contains("Mesa Intel(R)"),
"Mesa Intel has this broken since 21.2, worked fine with 21.1.");
CORRADE_COMPARE_AS(Containers::arrayCast<UnsignedByte>(imageData).exceptPrefix(data.offset), CORRADE_COMPARE_AS(Containers::arrayCast<UnsignedByte>(imageData).exceptPrefix(data.offset),
data.data, data.data,
TestSuite::Compare::Container); TestSuite::Compare::Container);

Loading…
Cancel
Save