Browse Source

Vk: adapt fuzzy thresholds to llvmpipe differences.

pull/595/head
Vladimír Vondruš 4 years ago
parent
commit
35178edfbd
  1. 10
      src/Magnum/Vk/Test/MeshVkTest.cpp

10
src/Magnum/Vk/Test/MeshVkTest.cpp

@ -439,8 +439,9 @@ void MeshVkTest::cmdDrawTwoAttributes() {
_framebuffer.size().xy(), _framebuffer.size().xy(),
_pixels.dedicatedMemory().mapRead()}), _pixels.dedicatedMemory().mapRead()}),
Utility::Path::join(VK_TEST_DIR, "MeshTestFiles/vertexcolor.tga"), Utility::Path::join(VK_TEST_DIR, "MeshTestFiles/vertexcolor.tga"),
/* ARM Mali (Android) has some minor off-by-one differences */ /* ARM Mali (Android) has some minor off-by-one differences, llvmpipe
(DebugTools::CompareImageToFile{_manager, 0.5f, 0.012f})); as well */
(DebugTools::CompareImageToFile{_manager, 0.75f, 0.029f}));
} }
void MeshVkTest::cmdDrawTwoAttributesTwoBindings() { void MeshVkTest::cmdDrawTwoAttributesTwoBindings() {
@ -510,8 +511,9 @@ void MeshVkTest::cmdDrawTwoAttributesTwoBindings() {
_framebuffer.size().xy(), _framebuffer.size().xy(),
_pixels.dedicatedMemory().mapRead()}), _pixels.dedicatedMemory().mapRead()}),
Utility::Path::join(VK_TEST_DIR, "MeshTestFiles/vertexcolor.tga"), Utility::Path::join(VK_TEST_DIR, "MeshTestFiles/vertexcolor.tga"),
/* ARM Mali (Android) has some minor off-by-one differences */ /* ARM Mali (Android) has some minor off-by-one differences, llvmpipe
(DebugTools::CompareImageToFile{_manager, 0.5f, 0.012f})); as well */
(DebugTools::CompareImageToFile{_manager, 0.75f, 0.029f}));
} }
void MeshVkTest::cmdDrawNullBindingRobustness2() { void MeshVkTest::cmdDrawNullBindingRobustness2() {

Loading…
Cancel
Save