From 35178edfbdb36e4c75a8198f0872bb52cae281ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 27 Sep 2022 20:38:14 +0200 Subject: [PATCH] Vk: adapt fuzzy thresholds to llvmpipe differences. --- src/Magnum/Vk/Test/MeshVkTest.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Vk/Test/MeshVkTest.cpp b/src/Magnum/Vk/Test/MeshVkTest.cpp index 1d4ce73ad..344d48854 100644 --- a/src/Magnum/Vk/Test/MeshVkTest.cpp +++ b/src/Magnum/Vk/Test/MeshVkTest.cpp @@ -439,8 +439,9 @@ void MeshVkTest::cmdDrawTwoAttributes() { _framebuffer.size().xy(), _pixels.dedicatedMemory().mapRead()}), Utility::Path::join(VK_TEST_DIR, "MeshTestFiles/vertexcolor.tga"), - /* ARM Mali (Android) has some minor off-by-one differences */ - (DebugTools::CompareImageToFile{_manager, 0.5f, 0.012f})); + /* ARM Mali (Android) has some minor off-by-one differences, llvmpipe + as well */ + (DebugTools::CompareImageToFile{_manager, 0.75f, 0.029f})); } void MeshVkTest::cmdDrawTwoAttributesTwoBindings() { @@ -510,8 +511,9 @@ void MeshVkTest::cmdDrawTwoAttributesTwoBindings() { _framebuffer.size().xy(), _pixels.dedicatedMemory().mapRead()}), Utility::Path::join(VK_TEST_DIR, "MeshTestFiles/vertexcolor.tga"), - /* ARM Mali (Android) has some minor off-by-one differences */ - (DebugTools::CompareImageToFile{_manager, 0.5f, 0.012f})); + /* ARM Mali (Android) has some minor off-by-one differences, llvmpipe + as well */ + (DebugTools::CompareImageToFile{_manager, 0.75f, 0.029f})); } void MeshVkTest::cmdDrawNullBindingRobustness2() {