From f1643c827e074905663e32df2a905a2306965a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 2 Jan 2016 03:22:12 +0100 Subject: [PATCH] Expect more test failures on NV. I'm tired of that poorly specified compressed stuff shit. --- src/Magnum/Test/TextureGLTest.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Magnum/Test/TextureGLTest.cpp b/src/Magnum/Test/TextureGLTest.cpp index 3e33caa9a..efaaaeb00 100644 --- a/src/Magnum/Test/TextureGLTest.cpp +++ b/src/Magnum/Test/TextureGLTest.cpp @@ -1815,6 +1815,10 @@ void TextureGLTest::compressedSubImage3DQuery() { MAGNUM_VERIFY_NO_ERROR(); CORRADE_COMPARE(image.size(), (Vector3i{4})); + + CORRADE_EXPECT_FAIL_IF(!!(Context::current()->detectedDriver() & Context::DetectedDriver::NVidia), + "Default compressed pixel storage behaves weirdly with BPTC compression on NVidia"); + CORRADE_COMPARE_AS( (Containers::ArrayView{image.data(), image.data().size()}), Containers::ArrayView{CompressedData3D}, TestSuite::Compare::Container); @@ -1872,6 +1876,10 @@ void TextureGLTest::compressedSubImage3DQueryBuffer() { MAGNUM_VERIFY_NO_ERROR(); CORRADE_COMPARE(image.size(), Vector3i{4}); + + CORRADE_EXPECT_FAIL_IF(!!(Context::current()->detectedDriver() & Context::DetectedDriver::NVidia), + "Default compressed pixel storage behaves weirdly with BPTC compression on NVidia"); + CORRADE_COMPARE_AS(imageData, Containers::ArrayView{CompressedData3D}, TestSuite::Compare::Container); }